[PATCH] D64825: Enable assembly output of local commons for AIX

Sean Fertile via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 7 11:00:11 PDT 2019


sfertile added inline comments.


================
Comment at: llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp:1833
     getNameWithPrefix(Name, GO, TM);
-    return getContext().getXCOFFSection(Name, XCOFF::XMC_RW, XCOFF::XTY_CM,
-                                        Kind, /* BeginSymbolName */ nullptr);
+    return getContext().getXCOFFSection(
+        Name, Kind.isBSSLocal() ? XCOFF::XMC_BS : XCOFF::XMC_RW, XCOFF::XTY_CM,
----------------
hubert.reinterpretcast wrote:
> One or the other of D65159 or this needs to be rebased on the other when one lands.
I'd prefer to get this review moving and commited, then rebase D65159.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D64825





More information about the llvm-commits mailing list