diff options
Diffstat (limited to 'dwarflint/tests')
| -rw-r--r-- | dwarflint/tests/garbage-2.bz2 | bin | 0 -> 2764 bytes | |||
| -rwxr-xr-x | dwarflint/tests/run-bad.sh | 6 |
2 files changed, 5 insertions, 1 deletions
diff --git a/dwarflint/tests/garbage-2.bz2 b/dwarflint/tests/garbage-2.bz2 Binary files differnew file mode 100644 index 00000000..3cd56192 --- /dev/null +++ b/dwarflint/tests/garbage-2.bz2 diff --git a/dwarflint/tests/run-bad.sh b/dwarflint/tests/run-bad.sh index 5dd64956..871fe551 100755 --- a/dwarflint/tests/run-bad.sh +++ b/dwarflint/tests/run-bad.sh @@ -27,7 +27,7 @@ srcdir=$srcdir/tests -testfiles hello.bad-1 hello.bad-3 garbage-1 +testfiles hello.bad-1 hello.bad-3 garbage-1 garbage-2 testrun_compare ./dwarflint hello.bad-1 <<EOF error: .debug_info: DIE 0x83: abbrev section at 0x0 doesn't contain code 83. @@ -46,3 +46,7 @@ error: Broken ELF: offset out of range. error: .debug_abbrev: data not found. error: .debug_info: data not found. EOF + +testrun_compare ./dwarflint garbage-2 <<EOF +error: .debug_info: CU 0: toplevel DIE must be either compile_unit or partial_unit. +EOF |
