[PowerPC] XCOFF exception section support on the integrated assembler path
authorPaul Scoropan <1paulscoropan@gmail.com>
Mon, 21 Nov 2022 05:16:26 +0000 (00:16 -0500)
committerChen Zheng <czhengsz@cn.ibm.com>
Mon, 21 Nov 2022 06:16:31 +0000 (01:16 -0500)
commit2234098291de3a4e8314db097a6bb5b96d5e6ce2
tree8dcbec29e1489e6975ab72b280bf7bc495299c95
parent6bca3ad379503ff254413d32f5eb9ee376653916
[PowerPC] XCOFF exception section support on the integrated assembler path

Continuation of https://reviews.llvm.org/D132146 (direct assembly path support, needs to merge first). Adds support to the integrated assembler path for emitting XCOFF exception sections. Both features need https://reviews.llvm.org/D133030 to merge first

Reviewed By: shchenz, DiggerLin

Differential Revision: https://reviews.llvm.org/D134195
12 files changed:
llvm/include/llvm/BinaryFormat/XCOFF.h
llvm/include/llvm/MC/MCObjectWriter.h
llvm/include/llvm/MC/MCStreamer.h
llvm/include/llvm/MC/MCXCOFFStreamer.h
llvm/lib/MC/MCAsmStreamer.cpp
llvm/lib/MC/MCStreamer.cpp
llvm/lib/MC/MCXCOFFStreamer.cpp
llvm/lib/MC/XCOFFObjectWriter.cpp
llvm/test/CodeGen/PowerPC/aix-xcoff-exception-section-debug.ll [new file with mode: 0644]
llvm/test/CodeGen/PowerPC/aix-xcoff-exception-section.ll [new file with mode: 0644]
llvm/test/CodeGen/PowerPC/builtins-ppc-xlcompat-trap-annotations-td.ll
llvm/test/CodeGen/PowerPC/builtins-ppc-xlcompat-trap-annotations-tw.ll