[llvm-symbolizer] Print file/line for a PC even if there is no DIE describing it.
authorAlexey Samsonov <samsonov@google.com>
Fri, 18 Apr 2014 22:22:44 +0000 (22:22 +0000)
committerAlexey Samsonov <samsonov@google.com>
Fri, 18 Apr 2014 22:22:44 +0000 (22:22 +0000)
commite0d2d7fb26a2dac464f6e245594176a2a7f1ccf7
tree94d42a9b65ae304aff4453b7b1e3d3d013f6f150
parent1c60993799ad7ade9eea6f2603525d2086e90729
[llvm-symbolizer] Print file/line for a PC even if there is no DIE describing it.

This is important for symbolizing executables with debug info in
unavailable .dwo files. Even if all DIE entries are missing, we can
still symbolize an address: function name can be fetched from symbol table,
and file/line info can be fetched from line table.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206665 91177308-0d34-0410-b5e6-96231b3b80d8
lib/DebugInfo/DWARFContext.cpp
test/DebugInfo/Inputs/llvm-symbolizer-dwo-test [new file with mode: 0755]
test/DebugInfo/Inputs/llvm-symbolizer-dwo-test.cc [new file with mode: 0644]
test/DebugInfo/llvm-symbolizer.test