Add a test covering ELFFile's constructor failing.

llvm-svn: 248498
This commit is contained in:
Rafael Espindola 2015-09-24 14:55:25 +00:00
parent ac9257b258
commit e0f09fac78
2 changed files with 3 additions and 0 deletions

Binary file not shown.

View File

@ -17,3 +17,6 @@ INVALID-BINDING: unexpected binding
RUN: not lld -flavor gnu2 %p/Inputs/invalid-section-index.elf -o %t2 2>&1 | \
RUN: FileCheck --check-prefix=INVALID-SECTION-INDEX %s
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