forked from OSchip/llvm-project
Add a test of an elf file with an invalid section index.
We were already checking, but were missing a test. llvm-svn: 241094
This commit is contained in:
parent
f09df00daa
commit
0fe34f7359
Binary file not shown.
|
@ -37,3 +37,7 @@ SECTION-NEXT: EntrySize: 32
|
|||
RUN: not llvm-readobj -t %p/Inputs/invalid-sh_entsize.elf 2>&1 | FileCheck --check-prefix=INVALID-SYM-SIZE %s
|
||||
RUN: not llvm-readobj --dyn-symbols %p/Inputs/invalid-sh_entsize.elf 2>&1 | FileCheck --check-prefix=INVALID-SYM-SIZE %s
|
||||
INVALID-SYM-SIZE: Invalid symbol size
|
||||
|
||||
RUN: not llvm-readobj -t %p/Inputs/invalid-section-index.elf 2>&1 | FileCheck --check-prefix=INVALID-SECTION-INDEX %s
|
||||
|
||||
INVALID-SECTION-INDEX: Invalid section index!
|
||||
|
|
Loading…
Reference in New Issue