[llvm-commits] [llvm] r76479 - in /llvm/trunk/lib: CodeGen/AsmPrinter/AsmPrinter.cpp Target/MSP430/MSP430AsmPrinter.cpp Target/Mips/AsmPrinter/MipsAsmPrinter.cpp Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp
Bill Wendling
isanbard at gmail.com
Mon Jul 20 14:30:28 PDT 2009
Author: void
Date: Mon Jul 20 16:30:28 2009
New Revision: 76479
URL: http://llvm.org/viewvc/llvm-project?rev=76479&view=rev
Log:
Pass in the unfortunately named "LessPrivatePrefix" for the
"LinkerPrivatePrefix". It seems to have been used in only one place before I
started this "linker_private" business. I'm thinking that a rename is in
order...
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/trunk/lib/Target/MSP430/MSP430AsmPrinter.cpp
llvm/trunk/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp
llvm/trunk/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp
llvm/trunk/lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp?rev=76479&r1=76478&r2=76479&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp Mon Jul 20 16:30:28 2009
@@ -154,7 +154,8 @@
}
bool AsmPrinter::doInitialization(Module &M) {
- Mang = new Mangler(M, TAI->getGlobalPrefix(), TAI->getPrivateGlobalPrefix());
+ Mang = new Mangler(M, TAI->getGlobalPrefix(), TAI->getPrivateGlobalPrefix(),
+ TAI->getLessPrivateGlobalPrefix());
if (TAI->doesAllowQuotesInName())
Mang->setUseQuotes(true);
Modified: llvm/trunk/lib/Target/MSP430/MSP430AsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/MSP430/MSP430AsmPrinter.cpp?rev=76479&r1=76478&r2=76479&view=diff
==============================================================================
--- llvm/trunk/lib/Target/MSP430/MSP430AsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/MSP430/MSP430AsmPrinter.cpp Mon Jul 20 16:30:28 2009
@@ -82,7 +82,8 @@
}
bool MSP430AsmPrinter::doInitialization(Module &M) {
- Mang = new Mangler(M, "", TAI->getPrivateGlobalPrefix());
+ Mang = new Mangler(M, "", TAI->getPrivateGlobalPrefix(),
+ TAI->getLessPrivateGlobalPrefix());
return false; // success
}
Modified: llvm/trunk/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp?rev=76479&r1=76478&r2=76479&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp Mon Jul 20 16:30:28 2009
@@ -451,7 +451,8 @@
bool MipsAsmPrinter::
doInitialization(Module &M)
{
- Mang = new Mangler(M, "", TAI->getPrivateGlobalPrefix());
+ Mang = new Mangler(M, "", TAI->getPrivateGlobalPrefix(),
+ TAI->getLessPrivateGlobalPrefix());
// Tell the assembler which ABI we are using
O << "\t.section .mdebug." << emitCurrentABIString() << '\n';
Modified: llvm/trunk/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp?rev=76479&r1=76478&r2=76479&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp Mon Jul 20 16:30:28 2009
@@ -223,7 +223,8 @@
}
bool SparcAsmPrinter::doInitialization(Module &M) {
- Mang = new Mangler(M, "", TAI->getPrivateGlobalPrefix());
+ Mang = new Mangler(M, "", TAI->getPrivateGlobalPrefix(),
+ TAI->getLessPrivateGlobalPrefix());
return false; // success
}
Modified: llvm/trunk/lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp?rev=76479&r1=76478&r2=76479&view=diff
==============================================================================
--- llvm/trunk/lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp Mon Jul 20 16:30:28 2009
@@ -92,7 +92,8 @@
}
bool SystemZAsmPrinter::doInitialization(Module &M) {
- Mang = new Mangler(M, "", TAI->getPrivateGlobalPrefix());
+ Mang = new Mangler(M, "", TAI->getPrivateGlobalPrefix(),
+ TAI->getLessPrivateGlobalPrefix());
return false; // success
}
More information about the llvm-commits
mailing list