[PATCH] D83252: [XCOFF] Enable symbol alias for AIX

Digger via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 15 13:02:39 PDT 2020


DiggerLin added inline comments.


================
Comment at: llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:1406
+  // those labels.
+  if (TM.getTargetTriple().isOSBinFormatXCOFF()) {
+    assert(!isa<GlobalIFunc>(GIS) && "IFunc is not supported on AIX.");
----------------
change  if (TM.getTargetTriple().isOSBinFormatXCOFF() )
to 
if (TM.getTargetTriple().isOSBinFormatXCOFF() & IsFunction)

and we do no not need 
if (IsFunction) 
later


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

https://reviews.llvm.org/D83252





More information about the llvm-commits mailing list