2015-05-29 04:25:42 +08:00
|
|
|
; Verify that llvm-dwarfdump doesn't crash on broken input files.
|
|
|
|
|
2015-06-26 07:40:15 +08:00
|
|
|
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
|
2015-06-04 06:36:17 +08:00
|
|
|
INVALID-ELF: Invalid data was encountered while parsing the file
|