[all-commits] [llvm/llvm-project] 987406: [AIX] Emit TOC entries for ASM printing
David Tenty via All-commits
all-commits at lists.llvm.org
Wed Nov 27 14:20:59 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 98740643f794254342e22d106eafb73cf459f465
https://github.com/llvm/llvm-project/commit/98740643f794254342e22d106eafb73cf459f465
Author: David Tenty <daltenty at ibm.com>
Date: 2019-11-27 (Wed, 27 Nov 2019)
Changed paths:
M llvm/include/llvm/MC/MCAsmInfo.h
M llvm/include/llvm/MC/MCSymbolXCOFF.h
M llvm/lib/BinaryFormat/XCOFF.cpp
M llvm/lib/MC/MCSectionXCOFF.cpp
M llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
M llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
M llvm/test/CodeGen/PowerPC/aix-lower-block-address.ll
M llvm/test/CodeGen/PowerPC/aix-lower-constant-pool-index.ll
M llvm/test/CodeGen/PowerPC/aix-lower-jump-table.ll
A llvm/test/CodeGen/PowerPC/aix-xcoff-data-only-notoc.ll
A llvm/test/CodeGen/PowerPC/aix-xcoff-toc.ll
M llvm/test/CodeGen/PowerPC/lower-globaladdr32-aix-asm.ll
M llvm/test/CodeGen/PowerPC/lower-globaladdr64-aix-asm.ll
Log Message:
-----------
[AIX] Emit TOC entries for ASM printing
Summary:
Emit the correct .toc psuedo op when we change to the TOC and emit
TC entries. Make sure TOC psuedos get the right symbols via overriding
getMCSymbolForTOCPseudoMO on AIX. Add a test for TOC assembly writing
and update tests to include TOC entries.
Also make sure external globals have a csect set and handle external function descriptor (originally authored by Jason Liu) so we can emit TOC entries for them.
Reviewers: DiggerLin, sfertile, Xiangling_L, jasonliu, hubert.reinterpretcast
Reviewed By: jasonliu
Subscribers: arphaman, wuzish, nemanjai, hiraditya, kbarton, jsji, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70461
More information about the All-commits
mailing list