9 lines · plain
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-ELF14RUN: not llvm-dwarfdump %p/Inputs/invalid.elf.2 2>&1 | FileCheck %s --check-prefix=INVALID-ELF25RUN: not llvm-dwarfdump %p/Inputs/invalid.elf.3 2>&1 | FileCheck %s --check-prefix=INVALID-ELF36INVALID-ELF1: section header table goes past the end of the file7INVALID-ELF2: Invalid ELF data8INVALID-ELF3: Invalid ELF class9