[all-commits] [llvm/llvm-project] 77618c: [XCOFF][AIX] Fix getSymbol to return the correct q...
jasonliudev via All-commits
all-commits at lists.llvm.org
Fri Apr 17 06:45:58 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 77618cc237a9b2923b032a7f669f35148cb95c0a
https://github.com/llvm/llvm-project/commit/77618cc237a9b2923b032a7f669f35148cb95c0a
Author: jasonliu <jasonliu.development at gmail.com>
Date: 2020-04-17 (Fri, 17 Apr 2020)
Changed paths:
M llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
M llvm/include/llvm/Target/TargetLoweringObjectFile.h
M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
M llvm/lib/Target/TargetMachine.cpp
A llvm/test/CodeGen/PowerPC/aix-xcoff-lower-comm.ll
Log Message:
-----------
[XCOFF][AIX] Fix getSymbol to return the correct qualname when necessary
Summary:
AIX symbol have qualname and unqualified name. The stock getSymbol
could only return unqualified name, which leads us to patch many
caller side(lowerConstant, getMCSymbolForTOCPseudoMO).
So we should try to address this problem in the callee
side(getSymbol) and clean up the caller side instead.
Note: this is a "mostly" NFC patch, with a fix for the original
lowerConstant behavior.
Differential Revision: https://reviews.llvm.org/D78045
More information about the All-commits
mailing list