[PATCH] D84534: [AIX] Static init frontend recovery and backend support

Jason Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 30 12:50:10 PDT 2020


jasonliu added inline comments.


================
Comment at: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1865
+    if (isSpecialLLVMGlobalArrayForStaticInit(&G)) {
+      if (GlobalUniqueModuleId.empty()) {
+        GlobalUniqueModuleId = getUniqueModuleId(&M);
----------------
We will need to move this part of the if statement to the overrided `emitXXStructorList` as well. (If we think overriding `emitXXStructorList` and calling `emitSpecialLLVMGlobal ` directly is a good idea.)


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

https://reviews.llvm.org/D84534



More information about the cfe-commits mailing list