mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Naturally align doubles in the constant pool, set PrivateGlobalPrefix on
darwin, use it when printing the constant pool indices so the labels are appropriately private, emit cp entries to .const instead of .data on darwin and only emit a single .section for the constant pool, not one for each entry. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24440 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -174,7 +174,7 @@ void X86ATTAsmPrinter::printMemReference(const MachineInstr *MI, unsigned Op){
|
||||
O << "]";
|
||||
return;
|
||||
} else if (BaseReg.isConstantPoolIndex()) {
|
||||
O << ".CPI" << CurrentFnName << "_"
|
||||
O << PrivateGlobalPrefix << "CPI" << CurrentFnName << "_"
|
||||
<< BaseReg.getConstantPoolIndex();
|
||||
if (DispSpec.getImmedValue())
|
||||
O << "+" << DispSpec.getImmedValue();
|
||||
|
Reference in New Issue
Block a user