diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-03-25 01:08:42 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-03-25 01:08:42 +0000 |
commit | 7db860d4de34cab6a738ff240b2810ffb4379378 (patch) | |
tree | 7bee1ca40b7445ad72cdf0d63db2f879046f3381 /lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp | |
parent | 324f608a4553e43eaef7c7f04656fa1f4ef85ae4 (diff) | |
download | external_llvm-7db860d4de34cab6a738ff240b2810ffb4379378.zip external_llvm-7db860d4de34cab6a738ff240b2810ffb4379378.tar.gz external_llvm-7db860d4de34cab6a738ff240b2810ffb4379378.tar.bz2 |
Don't print global names twice with -asm-verbose.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67667 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp')
-rw-r--r-- | lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp b/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp index 2a6d776..3bdcf88 100644 --- a/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp +++ b/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp @@ -831,7 +831,7 @@ void X86ATTAsmPrinter::printModuleLevelGV(const GlobalVariable* GVar) { EmitAlignment(Align, GVar); O << name << ":"; if (VerboseAsm) { - O << name << "\t\t\t\t" << TAI->getCommentString() << ' '; + O << "\t\t\t\t" << TAI->getCommentString() << ' '; PrintUnmangledNameSafely(GVar, O); } O << '\n'; @@ -894,7 +894,7 @@ void X86ATTAsmPrinter::printModuleLevelGV(const GlobalVariable* GVar) { EmitAlignment(Align, GVar); O << name << ":"; if (VerboseAsm){ - O << name << "\t\t\t\t" << TAI->getCommentString() << ' '; + O << "\t\t\t\t" << TAI->getCommentString() << ' '; PrintUnmangledNameSafely(GVar, O); } O << '\n'; |