[PATCH] D104420: thread_local support for AIX

Hubert Tong via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 12 22:01:55 PDT 2021


hubert.reinterpretcast added inline comments.


================
Comment at: clang/lib/CodeGen/ItaniumCXXABI.cpp:3004
+    } else if (CGM.getTriple().isOSAIX())
+      // On AIX, all thread_local vars will have init routines regardless of
+      // whether they are const-initialized or not.  Since the routine is
----------------
Clarify that this statement does not apply if the type is not a class type or (possibly multi-dimenional) array of class type and the variable is also `constinit`.


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

https://reviews.llvm.org/D104420



More information about the cfe-commits mailing list