blob: a36ad2f412e6a90003ec59a21936c17f0be0eb6a [file] [log] [blame]
Alexey Samsonov8ecf6612015-05-28 20:25:42 +00001; Verify that llvm-dwarfdump doesn't crash on broken input files.
2
Alexey Samsonov1cf2b032015-06-25 23:40:15 +00003RUN: not llvm-dwarfdump %p/Inputs/invalid.elf 2>&1 | FileCheck %s --check-prefix=INVALID-ELF
4RUN: not llvm-dwarfdump %p/Inputs/invalid.elf.2 2>&1 | FileCheck %s --check-prefix=INVALID-ELF
5RUN: not llvm-dwarfdump %p/Inputs/invalid.elf.3 2>&1 | FileCheck %s --check-prefix=INVALID-ELF
Alexey Samsonov4c7b7b22015-06-03 22:36:17 +00006INVALID-ELF: Invalid data was encountered while parsing the file