]> granicus.if.org Git - llvm/commit
[llvm] Skip over empty line table entries.
authorMircea Trofin <mtrofin@google.com>
Tue, 12 Mar 2019 20:48:45 +0000 (20:48 +0000)
committerMircea Trofin <mtrofin@google.com>
Tue, 12 Mar 2019 20:48:45 +0000 (20:48 +0000)
commitd0c7284d741110774b9f894b97952550a0830ce6
tree6f2d73af2640b777337b1cbd17063edabb00a92a
parentef8ea6ba1a05af5eebcc5c0dd0bcfd3d4d27315b
[llvm] Skip over empty line table entries.

Summary:
This is similar to how addr2line handles consecutive entries with the
same address - pick the last one.

Reviewers: dblaikie, friss, JDevlieghere

Reviewed By: dblaikie

Subscribers: ormris, echristo, JDevlieghere, probinson, aprantl, hiraditya, rupprecht, jdoerfert, llvm-commits

Tags: #llvm, #debug-info

Differential Revision: https://reviews.llvm.org/D58952

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355972 91177308-0d34-0410-b5e6-96231b3b80d8
lib/DebugInfo/DWARF/DWARFDebugLine.cpp
test/tools/llvm-symbolizer/fission-ranges.test
test/tools/llvm-symbolizer/only-empty-ranges.s [new file with mode: 0644]
test/tools/llvm-symbolizer/sym-verbose.test