efriedma added inline comments.

================
Comment at: clang/lib/CodeGen/CodeGenModule.cpp:4822
       Init = Initializer;
+      if (Initializer->isDLLImportDependent())
+        NeedsGlobalCtor = true;
----------------
This check probably needs to be inside tryEmitForInitializer, so other callers 
of tryEmitForInitializer don't get confused.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137107/new/

https://reviews.llvm.org/D137107

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to