================
@@ -769,9 +777,10 @@ void CodeGenModule::EmitCXXModuleInitFunc(Module *Primary) 
{
       CharUnits GuardAlign = CharUnits::One();
       Guard->setAlignment(GuardAlign.getAsAlign());
       GuardAddr = ConstantAddress(Guard, Int8Ty, GuardAlign);
+      IsTLS = Guard->isThreadLocal();
----------------
rjmccall wrote:

This is always just `false`.  And I believe that's correct, module 
initialization is global, not thread-local.

https://github.com/llvm/llvm-project/pull/96633
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to