summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorJames Henderson <jh7370@my.bristol.ac.uk>2019-12-12 09:35:59 +0000
committerJames Henderson <jh7370@my.bristol.ac.uk>2019-12-12 14:06:10 +0000
commit84a9756a72d81c32972b85c1d11cfd391f5b93a6 (patch)
tree3f5336b07339275fc0da5f5837a61fa575499741 /llvm/lib
parentd6417f5584aa7673fa0212029a96cc9cacb1aad5 (diff)
downloadbcm5719-llvm-84a9756a72d81c32972b85c1d11cfd391f5b93a6.tar.gz
bcm5719-llvm-84a9756a72d81c32972b85c1d11cfd391f5b93a6.zip
[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
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp b/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
index a1835be344e..445f4bf48a7 100644
--- a/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
+++ b/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
@@ -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() {
OpenPOWER on IntegriCloud