summaryrefslogtreecommitdiffstats
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2019-05-05 23:18:36 +0200
committerMark Wielaard <[email protected]>2019-05-14 20:52:59 +0200
commit643cbb275d65533472c0f53391f9fc1d5d9a2efc (patch)
tree9358db34cac91f030d83f846b8b65462172fe325 /tests/Makefile.am
parent7d029dc4585f84937a9386dc6f7ce82fbe2e1e21 (diff)
readelf: Decode DW_AT_discr_list block attributes.
Decode DW_AT_descr_list blocks using the DW_DSC values. This requires knowing the signedness of the discriminant. Which means the attr_callback function needs access to the parent DIE. Pass the whole DIE path, plus the current level. That way the type of the discriminant can be looked up in the variant_part (parent) DIE of the variant DIE (which has the discr_list attribute). Add a testcase using both signed and unsigned discriminants. https://sourceware.org/bugzilla/show_bug.cgi?id=24509 Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r--tests/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 498c1db2..80900e42 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -159,7 +159,8 @@ TESTS = run-arextract.sh run-arsymtest.sh run-ar.sh newfile test-nlist \
run-next-cfi.sh run-next-cfi-self.sh \
run-copyadd-sections.sh run-copymany-sections.sh \
run-typeiter-many.sh run-strip-test-many.sh \
- run-strip-version.sh run-xlate-note.sh
+ run-strip-version.sh run-xlate-note.sh \
+ run-readelf-discr.sh
if !BIARCH
export ELFUTILS_DISABLE_BIARCH = 1
@@ -424,7 +425,9 @@ EXTRA_DIST = run-arextract.sh run-arsymtest.sh run-ar.sh \
testfile-debug-rel-ppc64-z.o.bz2 \
testfile-debug-rel-ppc64.o.bz2 \
run-strip-version.sh testfile-version.bz2 \
- run-xlate-note.sh
+ run-xlate-note.sh \
+ run-readelf-discr.sh \
+ testfile-rng.debug.bz2 testfile-urng.debug.bz2
if USE_VALGRIND
valgrind_cmd='valgrind -q --leak-check=full --error-exitcode=1'