forked from OSchip/llvm-project
Add a test covering ELFFile's constructor failing.
llvm-svn: 248498
This commit is contained in:
parent
ac9257b258
commit
e0f09fac78
Binary file not shown.
|
@ -17,3 +17,6 @@ INVALID-BINDING: unexpected binding
|
||||||
RUN: not lld -flavor gnu2 %p/Inputs/invalid-section-index.elf -o %t2 2>&1 | \
|
RUN: not lld -flavor gnu2 %p/Inputs/invalid-section-index.elf -o %t2 2>&1 | \
|
||||||
RUN: FileCheck --check-prefix=INVALID-SECTION-INDEX %s
|
RUN: FileCheck --check-prefix=INVALID-SECTION-INDEX %s
|
||||||
INVALID-SECTION-INDEX: Invalid section index
|
INVALID-SECTION-INDEX: Invalid section index
|
||||||
|
|
||||||
|
RUN: not lld -flavor gnu2 %p/Inputs/invalid-shstrndx.so -o %t2 2>&1 | \
|
||||||
|
RUN: FileCheck --check-prefix=INVALID-SECTION-INDEX %s
|
||||||
|
|
Loading…
Reference in New Issue