[PATCH] D79127: [XCOFF][AIX] Emit correct alignment for csect

Jason Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 29 14:00:59 PDT 2020


jasonliu created this revision.
jasonliu added reviewers: hubert.reinterpretcast, DiggerLin, daltenty, sfertile.
Herald added subscribers: llvm-commits, arphaman, kbarton, hiraditya, nemanjai.
Herald added a project: LLVM.
jasonliu edited the summary of this revision.
Herald added a subscriber: wuzish.
jasonliu updated this revision to Diff 261024.

This patch tries to emit the correct alignment result for both object file generation path and assembly path.


https://reviews.llvm.org/D79127

Files:
  llvm/include/llvm/MC/MCSectionXCOFF.h
  llvm/lib/MC/MCContext.cpp
  llvm/lib/MC/MCSectionXCOFF.cpp
  llvm/lib/MC/MCXCOFFStreamer.cpp
  llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
  llvm/test/CodeGen/PowerPC/aix-lower-constant-pool-index.ll
  llvm/test/CodeGen/PowerPC/aix-lower-jump-table.ll
  llvm/test/CodeGen/PowerPC/aix-readonly-with-relocation.ll
  llvm/test/CodeGen/PowerPC/aix-reference-func-addr-const.ll
  llvm/test/CodeGen/PowerPC/aix-xcoff-data.ll
  llvm/test/CodeGen/PowerPC/aix-xcoff-lower-comm.ll
  llvm/test/CodeGen/PowerPC/aix-xcoff-mergeable-const.ll
  llvm/test/CodeGen/PowerPC/aix-xcoff-mergeable-str.ll
  llvm/test/CodeGen/PowerPC/aix-xcoff-rodata.ll
  llvm/test/CodeGen/PowerPC/test_func_desc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79127.261024.patch
Type: text/x-patch
Size: 14342 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200429/2daa0a42/attachment-0001.bin>


More information about the llvm-commits mailing list