[PATCH] D70443: [AIX][XCOFF] Generate undefined symbol in symbol table for external function call

Jason Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 19 07:46:41 PST 2019


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

This patch sets up the infrastructure for

1. Associate MCSymbolXCOFF with an MCSectionXCOFF when it could not get implicitly associated.
2. Generate undefined symbols. The patch itself generates undefined symbol for external function call only. Generate undefined symbol for external global variable and external function descriptors will be handled in separate patch(s) after this is land.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70443

Files:
  llvm/include/llvm/MC/MCSectionXCOFF.h
  llvm/include/llvm/MC/MCSymbolXCOFF.h
  llvm/lib/MC/XCOFFObjectWriter.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/test/CodeGen/PowerPC/aix-undef-func-call.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70443.230073.patch
Type: text/x-patch
Size: 7078 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191119/2f38c1a7/attachment-0001.bin>


More information about the llvm-commits mailing list