[PATCH] D122198: [PowerPC] Add .ref in backend for AIX XCOFF to support `-bcdtors:csect` linker option

Ting Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 7 04:45:13 PDT 2022


tingwang updated this revision to Diff 421158.
tingwang marked 4 inline comments as done.
tingwang added a comment.

Update based on Chen Zheng's comments:
(1) Corrected emitXCOFFRefDirective argument, the original one should be fine.
(2) Add assert check to guard against BS and UC mapping class. 
(3) Updated code comment and code style.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122198

Files:
  llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  llvm/lib/MC/MCAsmStreamer.cpp
  llvm/lib/MC/MCSectionXCOFF.cpp
  llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
  llvm/test/CodeGen/PowerPC/aix-xcoff-ref.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122198.421158.patch
Type: text/x-patch
Size: 6133 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220407/3165c229/attachment.bin>


More information about the llvm-commits mailing list