diff options
| author | Mark Wielaard <[email protected]> | 2018-05-29 00:59:28 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2018-05-31 14:42:27 +0200 |
| commit | b37feac1a8ceebb0748cb28d219aa8387d0885dd (patch) | |
| tree | 33beb2c916d4bd0d94fcb94ceb5cdef0d809c9a5 /libdw/dwarf.h | |
| parent | c7fc54a27c0eac667f0060f277606df8208f05d7 (diff) | |
readelf, libdw: Add GNU DebugFission .debug_loc support.
GNU DebugFission .debug_loc location lists uses the .debug_loc section
in the split dwarf .dwo file. The encoding is a mix of old style DWARF
.debug_loc and new style .debug_loclists.
Add two testcases for the readelf and libdw decoders.
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'libdw/dwarf.h')
| -rw-r--r-- | libdw/dwarf.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libdw/dwarf.h b/libdw/dwarf.h index 8985a9d4..dc597335 100644 --- a/libdw/dwarf.h +++ b/libdw/dwarf.h @@ -915,6 +915,16 @@ enum }; +/* GNU DebugFission list entry encodings (.debug_loc.dwo). */ +enum + { + DW_LLE_GNU_end_of_list_entry = 0x0, + DW_LLE_GNU_base_address_selection_entry = 0x1, + DW_LLE_GNU_start_end_entry = 0x2, + DW_LLE_GNU_start_length_entry = 0x3 + }; + + /* DWARF call frame instruction encodings. */ enum { |
