diff options
author | Mark Wielaard <mark@klomp.org> | 2022-10-20 00:02:39 +0200 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2022-10-27 15:28:32 +0200 |
commit | 85f4c22f60c87bd2f67b241974f1b5f0f355a29b (patch) | |
tree | 24002aaae9c05a35f877924515e7434d1a7911bc /libdw | |
parent | 8aa88041e0e33a5fd9ec6e7e04cc72a58f764d7f (diff) | |
download | elfutils-85f4c22f60c87bd2f67b241974f1b5f0f355a29b.tar.gz |
readelf: Handle DW_LLE_GNU_view_pair
DW_LLE_GNU_view_pair is used by gcc -gvariable-location-views=incompat5.
As described in http://www.fsfla.org/~lxoliva/papers/sfn/dwarf6-sfn-lvu.txt
and proposed for DWARF6 https://dwarfstd.org/ShowIssue.php?issue=170427.1
Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'libdw')
-rw-r--r-- | libdw/ChangeLog | 4 | ||||
-rw-r--r-- | libdw/dwarf.h | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/libdw/ChangeLog b/libdw/ChangeLog index 28bb0b2a..9bce3921 100644 --- a/libdw/ChangeLog +++ b/libdw/ChangeLog @@ -1,3 +1,7 @@ +2022-10-19 Mark Wielaard <mark@klomp.org> + + * dwarf.h (DW_LLE_GNU_view_pair): New constant. + 2022-10-21 Yonggang Luo <luoyonggang@gmail.com> * memory-access.h: Include system.h instead of byteswap.h and diff --git a/libdw/dwarf.h b/libdw/dwarf.h index c961bc36..b2e49db2 100644 --- a/libdw/dwarf.h +++ b/libdw/dwarf.h @@ -931,7 +931,11 @@ 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 + DW_LLE_GNU_start_length_entry = 0x3, + + // http://www.fsfla.org/~lxoliva/papers/sfn/dwarf6-sfn-lvu.txt + // https://dwarfstd.org/ShowIssue.php?issue=170427.1 + DW_LLE_GNU_view_pair = 0x9 }; /* DWARF5 package file section identifiers. */ |