mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-03 01:12:59 +00:00
Use PadToColumn instead of tabs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78834 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e45da0dce0
commit
a6340628c2
@ -816,7 +816,8 @@ void X86ATTAsmPrinter::PrintGlobalVariable(const GlobalVariable* GVar) {
|
||||
EmitAlignment(Align, GVar);
|
||||
O << name << ":";
|
||||
if (VerboseAsm) {
|
||||
O << "\t\t\t\t" << TAI->getCommentString() << ' ';
|
||||
O.PadToColumn(TAI->getCommentColumn(), 1);
|
||||
O << TAI->getCommentString() << ' ';
|
||||
PrintUnmangledNameSafely(GVar, O);
|
||||
}
|
||||
O << '\n';
|
||||
@ -837,7 +838,8 @@ void X86ATTAsmPrinter::PrintGlobalVariable(const GlobalVariable* GVar) {
|
||||
O << ',' << (TAI->getAlignmentIsInBytes() ? (1 << Align) : Align);
|
||||
}
|
||||
if (VerboseAsm) {
|
||||
O << "\t\t" << TAI->getCommentString() << ' ';
|
||||
O.PadToColumn(TAI->getCommentColumn(), 1);
|
||||
O << TAI->getCommentString() << ' ';
|
||||
PrintUnmangledNameSafely(GVar, O);
|
||||
}
|
||||
O << '\n';
|
||||
@ -880,7 +882,8 @@ void X86ATTAsmPrinter::PrintGlobalVariable(const GlobalVariable* GVar) {
|
||||
EmitAlignment(Align, GVar);
|
||||
O << name << ":";
|
||||
if (VerboseAsm){
|
||||
O << "\t\t\t\t" << TAI->getCommentString() << ' ';
|
||||
O.PadToColumn(TAI->getCommentColumn(), 1);
|
||||
O << TAI->getCommentString() << ' ';
|
||||
PrintUnmangledNameSafely(GVar, O);
|
||||
}
|
||||
O << '\n';
|
||||
|
@ -524,7 +524,8 @@ void X86IntelAsmPrinter::PrintGlobalVariable(const GlobalVariable *GV) {
|
||||
|
||||
O << name << ":";
|
||||
if (VerboseAsm)
|
||||
O << "\t\t\t\t" << TAI->getCommentString()
|
||||
O.PadToColumn(TAI->getCommentColumn(), 1);
|
||||
O << TAI->getCommentString()
|
||||
<< " " << GV->getName();
|
||||
O << '\n';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user