diff options
author | Mark Wielaard <mjw@redhat.com> | 2014-10-06 22:00:16 +0200 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2014-11-05 14:31:33 +0100 |
commit | 3a36e8a26c32103ec2f8edda8bf212d6883970a2 (patch) | |
tree | 0b76055b98d20af626f04022d4987a4de8b812a3 /tests/Makefile.am | |
parent | 564cfbe20beb077c3441400c4b0c406478043d76 (diff) | |
download | android_external_elfutils-3a36e8a26c32103ec2f8edda8bf212d6883970a2.tar.gz android_external_elfutils-3a36e8a26c32103ec2f8edda8bf212d6883970a2.tar.bz2 android_external_elfutils-3a36e8a26c32103ec2f8edda8bf212d6883970a2.zip |
libdw: Add dwarf_peel_type. Use it in dwarf_aggregate_size.
Add new function dwarf_peel_type. Some type annotations in DWARF are
specified by modifier tag type wrappers instead of attributes.
For type aliases (typedef) and qualifiers (const, volatile, restrict)
tags dwarf_peel_type follows the DW_AT_type attributes till it finds
a base, user-defined, reference or pointer type DIE.
Use this new function in the backends for return type DIEs (replacing
the existing dwarf_peel_type there) and in dwarf_aggregate_size so
it can provide the sizes for qualified types too. Add a new version
and testcase for the new dwarf_aggregate_size functionality.
Signed-off-by: Mark Wielaard <mjw@redhat.com>
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r-- | tests/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 1c4b2b19..09909d28 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -275,7 +275,8 @@ EXTRA_DIST = run-arextract.sh run-arsymtest.sh \ run-readelf-zdebug.sh testfile-debug.bz2 testfile-zdebug.bz2 \ run-deleted.sh run-linkmap-cut.sh linkmap-cut-lib.so.bz2 \ linkmap-cut.bz2 linkmap-cut.core.bz2 \ - run-aggregate-size.sh testfile-sizes1.o.bz2 testfile-sizes2.o.bz2 + run-aggregate-size.sh testfile-sizes1.o.bz2 testfile-sizes2.o.bz2 \ + testfile-sizes3.o.bz2 if USE_VALGRIND valgrind_cmd='valgrind -q --error-exitcode=1 --run-libc-freeres=no' |