[clang] [MS] Add /Zc:tlsGuards option to control tls guard emission (PR #113830)

Maurice Heumann via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 1 02:29:58 PDT 2024


================
@@ -186,6 +186,7 @@ COMPATIBLE_LANGOPT(RecoveryAST, 1, 1, "Preserve expressions in AST when encounte
 COMPATIBLE_LANGOPT(RecoveryASTType, 1, 1, "Preserve the type in recovery expressions")
 
 BENIGN_LANGOPT(ThreadsafeStatics , 1, 1, "thread-safe static initializers")
+BENIGN_LANGOPT(TlsGuards , 1, 1, "on-demand TLS initialization")
----------------
momo5502 wrote:

done. moved to codegen options

https://github.com/llvm/llvm-project/pull/113830


More information about the cfe-commits mailing list