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...


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76479 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2009-07-20 21:30:28 +00:00
parent 1224c38698
commit 4cef584860
5 changed files with 10 additions and 5 deletions

View File

@ -154,7 +154,8 @@ void AsmPrinter::getAnalysisUsage(AnalysisUsage &AU) const {
}
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);

View File

@ -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
}

View File

@ -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';

View File

@ -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
}

View File

@ -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
}