mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
Update test after https://reviews.llvm.org/D104483
This commit is contained in:
parent
70d02c15c5
commit
e8df73815a
@ -1,6 +1,8 @@
|
||||
; Verify that llvm-dwarfdump doesn't crash on broken input files.
|
||||
|
||||
RUN: not llvm-dwarfdump %p/Inputs/invalid.elf 2>&1 | FileCheck %s --check-prefix=INVALID-ELF
|
||||
RUN: not llvm-dwarfdump %p/Inputs/invalid.elf.2 2>&1 | FileCheck %s --check-prefix=INVALID-ELF
|
||||
RUN: not llvm-dwarfdump %p/Inputs/invalid.elf.3 2>&1 | FileCheck %s --check-prefix=INVALID-ELF
|
||||
INVALID-ELF: Invalid data was encountered while parsing the file
|
||||
RUN: not llvm-dwarfdump %p/Inputs/invalid.elf 2>&1 | FileCheck %s --check-prefix=INVALID-ELF1
|
||||
RUN: not llvm-dwarfdump %p/Inputs/invalid.elf.2 2>&1 | FileCheck %s --check-prefix=INVALID-ELF2
|
||||
RUN: not llvm-dwarfdump %p/Inputs/invalid.elf.3 2>&1 | FileCheck %s --check-prefix=INVALID-ELF3
|
||||
INVALID-ELF1: section header table goes past the end of the file
|
||||
INVALID-ELF2: Invalid ELF data
|
||||
INVALID-ELF3: Invalid ELF class
|
||||
|
Loading…
Reference in New Issue
Block a user