diff options
Diffstat (limited to 'testsuite/dwz.tests/pr24171.sh')
-rw-r--r-- | testsuite/dwz.tests/pr24171.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/dwz.tests/pr24171.sh b/testsuite/dwz.tests/pr24171.sh new file mode 100644 index 0000000..dd99c05 --- /dev/null +++ b/testsuite/dwz.tests/pr24171.sh @@ -0,0 +1,15 @@ +cp $execs/invalid-dw-at-stmt-list-encoding 1 +cp 1 2 + +if dwz -m 3 1 2 2>dwz.err; status=$?; then + true +fi + +if ! grep -q "DW_AT_stmt_list not DW_FORM_sec_offset or DW_FORM_data4" dwz.err; then + cat dwz.err + exit 1 +fi + +[ $status -eq 1 ] + +rm -f 1 2 dwz.err |