diff options
author | Chris Lattner <sabre@nondot.org> | 2005-11-21 06:46:22 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-11-21 06:46:22 +0000 |
commit | c41cc83117bbc8fe3951a1b5f14a484fabb8ab63 (patch) | |
tree | cd762214fec9a721d17c4be29fb27de2d0b1291d /lib/Target/X86/X86IntelAsmPrinter.cpp | |
parent | adb0a068c602b17f9d6602d08f561feea952c139 (diff) |
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
Diffstat (limited to 'lib/Target/X86/X86IntelAsmPrinter.cpp')
-rwxr-xr-x | lib/Target/X86/X86IntelAsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86IntelAsmPrinter.cpp b/lib/Target/X86/X86IntelAsmPrinter.cpp index 9cf7c29d77..a9d7c63ccd 100755 --- a/lib/Target/X86/X86IntelAsmPrinter.cpp +++ b/lib/Target/X86/X86IntelAsmPrinter.cpp @@ -141,7 +141,7 @@ void X86IntelAsmPrinter::printMemReference(const MachineInstr *MI, unsigned Op){ O << "]"; return; } else if (BaseReg.isConstantPoolIndex()) { - O << "[.CPI" << CurrentFnName << "_" + O << "[" << PrivateGlobalPrefix << "CPI" << CurrentFnName << "_" << BaseReg.getConstantPoolIndex(); if (IndexReg.getReg()) { |