mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Quote complex names for Darwin X86 and ARM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37700 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e8138ffeaf
commit
5411835165
@ -780,7 +780,13 @@ bool ARMAsmPrinter::doInitialization(Module &M) {
|
|||||||
// Emit initial debug information.
|
// Emit initial debug information.
|
||||||
DW.BeginModule(&M);
|
DW.BeginModule(&M);
|
||||||
|
|
||||||
return AsmPrinter::doInitialization(M);
|
AsmPrinter::doInitialization(M);
|
||||||
|
|
||||||
|
// Darwin wants symbols to be quoted if they have complex names.
|
||||||
|
if (Subtarget->isTargetDarwin())
|
||||||
|
Mang->setUseQuotes(true);
|
||||||
|
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ARMAsmPrinter::doFinalization(Module &M) {
|
bool ARMAsmPrinter::doFinalization(Module &M) {
|
||||||
|
@ -120,7 +120,13 @@ bool X86SharedAsmPrinter::doInitialization(Module &M) {
|
|||||||
DW.BeginModule(&M);
|
DW.BeginModule(&M);
|
||||||
}
|
}
|
||||||
|
|
||||||
return AsmPrinter::doInitialization(M);
|
AsmPrinter::doInitialization(M);
|
||||||
|
|
||||||
|
// Darwin wants symbols to be quoted if they have complex names.
|
||||||
|
if (Subtarget->isTargetDarwin())
|
||||||
|
Mang->setUseQuotes(true);
|
||||||
|
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool X86SharedAsmPrinter::doFinalization(Module &M) {
|
bool X86SharedAsmPrinter::doFinalization(Module &M) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user