forked from OSchip/llvm-project
7 lines
403 B
Plaintext
7 lines
403 B
Plaintext
; Verify that llvm-dwarfdump doesn't crash on broken input files.
|
|
|
|
RUN: llvm-dwarfdump %p/Inputs/invalid.elf 2>&1 | FileCheck %s --check-prefix=INVALID-ELF
|
|
RUN: llvm-dwarfdump %p/Inputs/invalid.elf.2 2>&1 | FileCheck %s --check-prefix=INVALID-ELF
|
|
RUN: 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
|