You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Darwin: Prohibit static initializers in Matter.framework (project-chip#34168)
* Darwin: Prohibit static initializers in Matter.framework
Globals should either be "constinit" (i.e. use a constrexpr constructor) and
trivially destructible, or use the Global<> / AtomicGlobal<> helpers.
* Update src/messaging/ReliableMessageProtocolConfig.cpp
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
* Use correct value in ReliableMessageProtocolConfig unit test override
* Enable -no_inits for release builds only
ASAN and TSAN both use initializers, so enabling it for Debug builds breaks
those in CI. Ideally we could just turn it off for builds that actually use
*SAN but that probably requires migrating the project to use xcconfig files.
---------
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
0 commit comments