[PATCH] D82481: [XCOFF][AIX] Give symbol an internal name when desired symbol name contains invalid character(s)

Jason Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 24 10:19:25 PDT 2020


jasonliu created this revision.
jasonliu added reviewers: hubert.reinterpretcast, daltenty, DiggerLin, Xiangling_L.
Herald added subscribers: kbarton, hiraditya, nemanjai.
Herald added a project: LLVM.

When a desired symbol name contains invalid character that the system assembler could not process, we need to emit .rename directive in assembly path in order for that desired symbol name to appear in the symbol table.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82481

Files:
  llvm/include/llvm/MC/MCContext.h
  llvm/include/llvm/MC/MCSectionXCOFF.h
  llvm/include/llvm/MC/MCStreamer.h
  llvm/include/llvm/MC/MCSymbolXCOFF.h
  llvm/include/llvm/MC/MCXCOFFStreamer.h
  llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  llvm/lib/MC/MCAsmInfoXCOFF.cpp
  llvm/lib/MC/MCAsmStreamer.cpp
  llvm/lib/MC/MCContext.cpp
  llvm/lib/MC/MCStreamer.cpp
  llvm/lib/MC/MCSymbolXCOFF.cpp
  llvm/lib/MC/XCOFFObjectWriter.cpp
  llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/test/CodeGen/PowerPC/aix-xcoff-symbol-rename.ll
  llvm/test/CodeGen/PowerPC/test_func_desc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82481.273088.patch
Type: text/x-patch
Size: 25641 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200624/84e9fb65/attachment.bin>


More information about the llvm-commits mailing list