[PATCH] D66724: [AIX]Emit function descriptor csect in assembly

Xiangling Liao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 25 18:54:24 PDT 2019


Xiangling_L created this revision.
Xiangling_L added reviewers: jasonliu, hubert.reinterpretcast, sfertile, stefanp, xingxue.
Xiangling_L added a project: LLVM.
Herald added subscribers: llvm-commits, jsji, MaskRay, kbarton, hiraditya, nemanjai.

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

During PPCAIXAsmPrinter::EmitFunctionEntryLabel we emit the csect for each function descriptor.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D66724

Files:
  llvm/include/llvm/CodeGen/AsmPrinter.h
  llvm/include/llvm/MC/MCAsmInfo.h
  llvm/include/llvm/MC/MCDirectives.h
  llvm/include/llvm/MC/MCExpr.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/MCExpr.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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66724.217067.patch
Type: text/x-patch
Size: 16106 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190826/7c4526f1/attachment.bin>


More information about the llvm-commits mailing list