mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-20 11:08:27 +00:00
use getValueName instead of makeNameProper.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75577 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c2ffd286af
commit
b9e126ce7d
@ -233,7 +233,7 @@ bool X86ATTAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
|
||||
EmitConstantPool(MF.getConstantPool());
|
||||
|
||||
if (F->hasDLLExportLinkage())
|
||||
DLLExportedFns.insert(Mang->makeNameProper(F->getName(), ""));
|
||||
DLLExportedFns.insert(Mang->getValueName(F));
|
||||
|
||||
// Print the 'header' of function
|
||||
emitFunctionHeader(MF);
|
||||
@ -910,7 +910,7 @@ bool X86ATTAsmPrinter::doFinalization(Module &M) {
|
||||
printModuleLevelGV(I);
|
||||
|
||||
if (I->hasDLLExportLinkage())
|
||||
DLLExportedGVs.insert(Mang->makeNameProper(I->getName(),""));
|
||||
DLLExportedGVs.insert(Mang->getValueName(I));
|
||||
}
|
||||
|
||||
if (Subtarget->isTargetDarwin()) {
|
||||
|
Loading…
Reference in New Issue
Block a user