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

Jason Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 6 12:37:45 PDT 2020


jasonliu created this revision.
jasonliu added reviewers: hubert.reinterpretcast, DiggerLin, daltenty, cebowleratibm.
Herald added subscribers: llvm-commits, kbarton, hiraditya, nemanjai.
Herald added a project: LLVM.

AIX assembly's .set directive is not usable for aliasing purpose. 
We need to use extra-label-at-defintion strategy to generate symbol aliasing on AIX.

Follow up items after this patch would be:

1. Investigate .set directive to see if it's needed for other purpose.
2. Use llvm-readobj to dump the relocation table and symbol table for the symbols to verify it on the integrate-as path.


https://reviews.llvm.org/D83252

Files:
  llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
  llvm/include/llvm/Target/TargetLoweringObjectFile.h
  llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/test/CodeGen/PowerPC/aix-alias-unsupported.ll
  llvm/test/CodeGen/PowerPC/aix-alias.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83252.275797.patch
Type: text/x-patch
Size: 12842 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200706/c532b2a4/attachment.bin>


More information about the llvm-commits mailing list