• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Verify that llvm-dwarfdump doesn't crash on broken input files.
2
3RUN: 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
6INVALID-ELF: Invalid data was encountered while parsing the file
7