mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
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:
parent
1224c38698
commit
4cef584860
@ -154,7 +154,8 @@ void AsmPrinter::getAnalysisUsage(AnalysisUsage &AU) const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool AsmPrinter::doInitialization(Module &M) {
|
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())
|
if (TAI->doesAllowQuotesInName())
|
||||||
Mang->setUseQuotes(true);
|
Mang->setUseQuotes(true);
|
||||||
|
@ -82,7 +82,8 @@ FunctionPass *llvm::createMSP430CodePrinterPass(formatted_raw_ostream &o,
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool MSP430AsmPrinter::doInitialization(Module &M) {
|
bool MSP430AsmPrinter::doInitialization(Module &M) {
|
||||||
Mang = new Mangler(M, "", TAI->getPrivateGlobalPrefix());
|
Mang = new Mangler(M, "", TAI->getPrivateGlobalPrefix(),
|
||||||
|
TAI->getLessPrivateGlobalPrefix());
|
||||||
return false; // success
|
return false; // success
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -451,7 +451,8 @@ printFCCOperand(const MachineInstr *MI, int opNum, const char *Modifier)
|
|||||||
bool MipsAsmPrinter::
|
bool MipsAsmPrinter::
|
||||||
doInitialization(Module &M)
|
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
|
// Tell the assembler which ABI we are using
|
||||||
O << "\t.section .mdebug." << emitCurrentABIString() << '\n';
|
O << "\t.section .mdebug." << emitCurrentABIString() << '\n';
|
||||||
|
@ -223,7 +223,8 @@ void SparcAsmPrinter::printCCOperand(const MachineInstr *MI, int opNum) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool SparcAsmPrinter::doInitialization(Module &M) {
|
bool SparcAsmPrinter::doInitialization(Module &M) {
|
||||||
Mang = new Mangler(M, "", TAI->getPrivateGlobalPrefix());
|
Mang = new Mangler(M, "", TAI->getPrivateGlobalPrefix(),
|
||||||
|
TAI->getLessPrivateGlobalPrefix());
|
||||||
return false; // success
|
return false; // success
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -92,7 +92,8 @@ FunctionPass *llvm::createSystemZCodePrinterPass(formatted_raw_ostream &o,
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool SystemZAsmPrinter::doInitialization(Module &M) {
|
bool SystemZAsmPrinter::doInitialization(Module &M) {
|
||||||
Mang = new Mangler(M, "", TAI->getPrivateGlobalPrefix());
|
Mang = new Mangler(M, "", TAI->getPrivateGlobalPrefix(),
|
||||||
|
TAI->getLessPrivateGlobalPrefix());
|
||||||
return false; // success
|
return false; // success
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user