diff options
author | Mark Wielaard <mark@klomp.org> | 2017-07-26 18:32:27 +0200 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2017-08-02 13:51:52 +0200 |
commit | 02e3093731b698547d30aaa3c1a0f66485a88ebd (patch) | |
tree | f532fbdd88f140c4a26b890385bec8b21b71c84e /libdw | |
parent | 75834f33d6abcbfbd160af97cda5bc83c9ed8a5d (diff) | |
download | elfutils-02e3093731b698547d30aaa3c1a0f66485a88ebd.tar.gz |
Handle DWARF5 defaulted member function encodings.
Add DW_DEFAULTED_no, DW_DEFAULTED_in_class and DW_DEFAULTED_out_of_class
to dwarf.h.
Print value (no, in_class or out_of_class) of DW_AT_defaulted in readelf.
Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'libdw')
-rw-r--r-- | libdw/ChangeLog | 5 | ||||
-rw-r--r-- | libdw/dwarf.h | 8 |
2 files changed, 13 insertions, 0 deletions
diff --git a/libdw/ChangeLog b/libdw/ChangeLog index 1c4eb366..a74733c2 100644 --- a/libdw/ChangeLog +++ b/libdw/ChangeLog @@ -1,5 +1,10 @@ 2017-07-26 Mark Wielaard <mark@klomp.org> + * dwarf.h: Add DW_DEFAULTED_no, DW_DEFAULTED_in_class and + DW_DEFAULTED_out_of_class. + +2017-07-26 Mark Wielaard <mark@klomp.org> + * dwarf.h: Add DW_CC_pass_by_reference and DW_CC_pass_by_reference. 2017-07-26 Mark Wielaard <mark@klomp.org> diff --git a/libdw/dwarf.h b/libdw/dwarf.h index de8f7e5a..82a68f26 100644 --- a/libdw/dwarf.h +++ b/libdw/dwarf.h @@ -729,6 +729,14 @@ enum DW_DSC_range = 1 }; +/* DWARF defaulted member function encodings. */ +enum + { + DW_DEFAULTED_no = 0, + DW_DEFAULTED_in_class = 1, + DW_DEFAULTED_out_of_class = 2 + }; + /* DWARF standard opcode encodings. */ enum |