[AIX]Emit function descriptor csect in assembly
authorXiangling Liao <xiangxdh@gmail.com>
Thu, 26 Sep 2019 19:38:32 +0000 (19:38 +0000)
committerXiangling Liao <xiangxdh@gmail.com>
Thu, 26 Sep 2019 19:38:32 +0000 (19:38 +0000)
commit3b808fb330dd4e2c8bf54e88e0a820e835c278b5
tree024e4189b730ddb9ed75e0c801c0677dd7899123
parent4061a9b63a429885dfdc8b5d3371b9eb80fc7ad2
[AIX]Emit function descriptor csect in assembly

This patch emits the function descriptor csect for functions with definitions
under both 32-bit/64-bit mode on AIX.

Differential Revision: https://reviews.llvm.org/D66724

llvm-svn: 373009
15 files changed:
llvm/include/llvm/CodeGen/AsmPrinter.h
llvm/include/llvm/MC/MCAsmInfo.h
llvm/include/llvm/MC/MCAsmInfoXCOFF.h
llvm/include/llvm/MC/MCDirectives.h
llvm/include/llvm/MC/MCSymbolXCOFF.h
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/lib/MC/MCAsmInfoXCOFF.cpp
llvm/lib/MC/MCAsmStreamer.cpp
llvm/lib/MC/MCELFStreamer.cpp
llvm/lib/MC/MCMachOStreamer.cpp
llvm/lib/MC/MCSectionXCOFF.cpp
llvm/lib/MC/XCOFFObjectWriter.cpp
llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
llvm/test/CodeGen/PowerPC/aix-xcoff-common.ll
llvm/test/CodeGen/PowerPC/test_func_desc.ll [new file with mode: 0644]