mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Print newlines after printing labels for debug info, so that the output
isn't cluttered with things like "Llabel47:Llabel48: movq (%rsi), %xmm3" llvm-svn: 90638
This commit is contained in:
parent
b352b42391
commit
b2fda9f9f4
@ -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…
Reference in New Issue
Block a user