diff options
| author | Bill Wendling <isanbard@gmail.com> | 2009-07-20 21:30:28 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2009-07-20 21:30:28 +0000 |
| commit | dde1a8eef4fd2e6022a7da0007a92b03dc160357 (patch) | |
| tree | 0258913a2a82c15fc9c9d9a46778dfca99d7f7cf /llvm/lib/Target | |
| parent | 17051250addd7cf42554b32ae587c647057dcf19 (diff) | |
| download | bcm5719-llvm-dde1a8eef4fd2e6022a7da0007a92b03dc160357.tar.gz bcm5719-llvm-dde1a8eef4fd2e6022a7da0007a92b03dc160357.zip | |
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...
llvm-svn: 76479
Diffstat (limited to 'llvm/lib/Target')
4 files changed, 8 insertions, 4 deletions
diff --git a/llvm/lib/Target/MSP430/MSP430AsmPrinter.cpp b/llvm/lib/Target/MSP430/MSP430AsmPrinter.cpp index 49e2a2e08fa..12338143fca 100644 --- a/llvm/lib/Target/MSP430/MSP430AsmPrinter.cpp +++ b/llvm/lib/Target/MSP430/MSP430AsmPrinter.cpp @@ -82,7 +82,8 @@ FunctionPass *llvm::createMSP430CodePrinterPass(formatted_raw_ostream &o, } bool MSP430AsmPrinter::doInitialization(Module &M) { - Mang = new Mangler(M, "", TAI->getPrivateGlobalPrefix()); + Mang = new Mangler(M, "", TAI->getPrivateGlobalPrefix(), + TAI->getLessPrivateGlobalPrefix()); return false; // success } diff --git a/llvm/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp b/llvm/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp index 36c1c044a5c..ba7fd4c62c8 100644 --- a/llvm/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp +++ b/llvm/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp @@ -451,7 +451,8 @@ printFCCOperand(const MachineInstr *MI, int opNum, const char *Modifier) 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'; diff --git a/llvm/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp b/llvm/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp index 3247cecc978..71394e8ad7e 100644 --- a/llvm/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp +++ b/llvm/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp @@ -223,7 +223,8 @@ void SparcAsmPrinter::printCCOperand(const MachineInstr *MI, int opNum) { } bool SparcAsmPrinter::doInitialization(Module &M) { - Mang = new Mangler(M, "", TAI->getPrivateGlobalPrefix()); + Mang = new Mangler(M, "", TAI->getPrivateGlobalPrefix(), + TAI->getLessPrivateGlobalPrefix()); return false; // success } diff --git a/llvm/lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp b/llvm/lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp index 7dd6fcc304d..7b0989fce35 100644 --- a/llvm/lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp +++ b/llvm/lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp @@ -92,7 +92,8 @@ FunctionPass *llvm::createSystemZCodePrinterPass(formatted_raw_ostream &o, } bool SystemZAsmPrinter::doInitialization(Module &M) { - Mang = new Mangler(M, "", TAI->getPrivateGlobalPrefix()); + Mang = new Mangler(M, "", TAI->getPrivateGlobalPrefix(), + TAI->getLessPrivateGlobalPrefix()); return false; // success } |

