mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-22 02:05:01 +00:00
Print newlines after printing labels for debug info, so that the output
isn't cluttered with things like "Llabel47:Llabel48: movq (%rsi), %xmm3" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90638 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
381ca5572e
commit
eecb9919a4
@ -1374,6 +1374,7 @@ void AsmPrinter::processDebugLoc(const MachineInstr *MI,
|
||||
unsigned L = DW->RecordSourceLine(CurDLT.Line, CurDLT.Col,
|
||||
CurDLT.Scope);
|
||||
printLabel(L);
|
||||
O << '\n';
|
||||
DW->BeginScope(MI, L);
|
||||
PrevDLT = CurDLT;
|
||||
}
|
||||
|
@ -1981,6 +1981,7 @@ void DwarfDebug::endScope(const MachineInstr *MI) {
|
||||
|
||||
unsigned Label = MMI->NextLabelID();
|
||||
Asm->printLabel(Label);
|
||||
O << '\n';
|
||||
|
||||
SmallVector<DbgScope *, 2> &SD = I->second;
|
||||
for (SmallVector<DbgScope *, 2>::iterator SDI = SD.begin(), SDE = SD.end();
|
||||
|
Loading…
x
Reference in New Issue
Block a user