[all-commits] [llvm/llvm-project] 5666b7: [DebugInfo] Only print a single blank line after a...
James Henderson via All-commits
all-commits at lists.llvm.org
Tue Dec 17 04:05:09 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 5666b70fd0748765ecaa69950a4868cf23a16cc9
https://github.com/llvm/llvm-project/commit/5666b70fd0748765ecaa69950a4868cf23a16cc9
Author: James Henderson <jh7370 at my.bristol.ac.uk>
Date: 2019-12-17 (Tue, 17 Dec 2019)
Changed paths:
M llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
M llvm/test/tools/llvm-dwarfdump/X86/debug-line.s
Log Message:
-----------
[DebugInfo] Only print a single blank line after an empty line table
Commit 84a9756 added an extra blank line at the end of any line table.
However, a blank line is also printed after the line table header, which
meant that two blank lines in a row were being printed after a header,
if there were no rows. This patch defers the post-header blank line
printing until it has been determined that there are rows to print.
Reviewed by: dblaikie
Differential Revision: https://reviews.llvm.org/D71540
More information about the All-commits
mailing list