[llvm-dwarfdump] Add blank line after printing line table

This helps delineate it in the output from later tables or other output.

Reviewed by: JDevlieghere

Differential Revision: https://reviews.llvm.org/D71344
This commit is contained in:
James Henderson 2019-12-12 09:35:59 +00:00
parent 590880e64e
commit c25046ceb9
2 changed files with 5 additions and 0 deletions

View File

@ -461,6 +461,10 @@ void DWARFDebugLine::LineTable::dump(raw_ostream &OS,
R.dump(OS);
}
}
// Terminate the table with a final blank line to clearly delineate it from
// later dumps.
OS << '\n';
}
void DWARFDebugLine::LineTable::clear() {

View File

@ -43,6 +43,7 @@
# CHECK-NEXT: 0x0000000000000002 1 0 1 0 0 is_stmt
# CHECK-NEXT: 0x0000000000000002 1 4 3 0 0 is_stmt
# CHECK-NEXT: 0x0000000000000024 1 4 3 5 6 basic_block prologue_end epilogue_begin end_sequence
# CHECK-EMPTY:
# CHECK-NEXT: debug_line[0x0000006d]
# CHECK-NEXT: Line table prologue:
# CHECK-NEXT: total_length: 0x0000001b