mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-10 02:36:06 +00:00
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
This commit is contained in:
parent
324f608a45
commit
7db860d4de
@ -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…
x
Reference in New Issue
Block a user