forked from OSchip/llvm-project
Don't print global names twice with -asm-verbose.
llvm-svn: 67667
This commit is contained in:
parent
7f570d5491
commit
9966403e90
|
@ -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';
|
||||
|
|
|
@ -491,7 +491,7 @@ bool X86IntelAsmPrinter::doFinalization(Module &M) {
|
|||
|
||||
O << name << ":";
|
||||
if (VerboseAsm)
|
||||
O << name << "\t\t\t\t" << TAI->getCommentString()
|
||||
O << "\t\t\t\t" << TAI->getCommentString()
|
||||
<< " " << I->getName();
|
||||
O << '\n';
|
||||
|
||||
|
|
Loading…
Reference in New Issue