[llvm-commits] [llvm] r42638 - /llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp
Dan Gohman
djg at cray.com
Fri Oct 5 08:58:41 PDT 2007
Author: djg
Date: Fri Oct 5 10:58:41 2007
New Revision: 42638
URL: http://llvm.org/viewvc/llvm-project?rev=42638&view=rev
Log:
Change a few more spaces to tabs in assembly output.
Modified:
llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp
Modified: llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp?rev=42638&r1=42637&r2=42638&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp Fri Oct 5 10:58:41 2007
@@ -213,7 +213,7 @@
case GlobalValue::LinkOnceLinkage:
case GlobalValue::WeakLinkage:
if (Subtarget->isTargetDarwin()) {
- O << "\t.globl " << name << "\n"
+ O << "\t.globl\t" << name << "\n"
<< "\t.weak_definition " << name << "\n";
SwitchToDataSection(".section __DATA,__const_coal,coalesced", I);
} else if (Subtarget->isTargetCygMing()) {
@@ -221,7 +221,7 @@
name +
",\"aw\"");
SwitchToDataSection(SectionName.c_str(), I);
- O << "\t.globl " << name << "\n"
+ O << "\t.globl\t" << name << "\n"
<< "\t.linkonce same_size\n";
} else {
std::string SectionName("\t.section\t.llvm.linkonce.d." +
@@ -239,7 +239,7 @@
// their name or something. For now, just emit them as external.
case GlobalValue::ExternalLinkage:
// If external or appending, declare as a global symbol
- O << "\t.globl " << name << "\n";
+ O << "\t.globl\t" << name << "\n";
// FALL THROUGH
case GlobalValue::InternalLinkage: {
if (I->isConstant()) {
More information about the llvm-commits
mailing list