]> sourceware.org Git - systemtap.git/commit
Add fallback to line table and low_pc for function source file/line.
authorMark Wielaard <mjw@redhat.com>
Fri, 10 Apr 2015 15:53:08 +0000 (17:53 +0200)
committerMark Wielaard <mjw@redhat.com>
Fri, 10 Apr 2015 15:53:13 +0000 (17:53 +0200)
commit151be4bde16663311dd01cbd852fd8eea114ce44
tree5e2d37a83d7769e6380ce532bcb48c1b6a69a48b
parent83489b077922aa8f1588920bac5ff3871a93a8c4
Add fallback to line table and low_pc for function source file/line.

Some DWARF producers (golang) don't emit any decl_file/line/col information.
For function DIEs we can sometimes still retrieve that information based on
the low_pc address the debug line table. Add a new fallback function
dwflpp::pc_line that returns file/line/col information based on pc address
in the current CU.
dwflpp.cxx
dwflpp.h
This page took 0.027272 seconds and 5 git commands to generate.