summaryrefslogtreecommitdiffstats
path: root/libdw/dwarf_getalt.c
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2018-05-20 10:35:34 +0200
committerMark Wielaard <[email protected]>2018-05-24 17:34:17 +0200
commitac6960d6b8602df97b5964f66ffc7cd91fd16e5b (patch)
tree24f79d3ddc8c412468d709b478a6d6976624157e /libdw/dwarf_getalt.c
parentc2d14cc492aa7fd28740d5789fede64ce81a063b (diff)
libdw: Add new dwarf_cu_info function.
This allows getting a (split) subdie lazily, only when needed. All arguments to dwarf_get_units are optional. When not given then unit DIE and sub DIE are not looked up. This new function allows them to be looked up when not immediately retrieved with dwarf_get_units, or for a Dwarf_CU gotten through some other way. Add a new testcase to make sure the results of calling dwarf_cu_info and dwarf_get_units are consistent. Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'libdw/dwarf_getalt.c')
0 files changed, 0 insertions, 0 deletions