
Add a test to `llvm-dwarfdump` to simply test that the error messages make sense when passing bad `.dSYM`s. Reviewed By: clayborg Differential Revision: https://reviews.llvm.org/D115889
11 lines
408 B
Plaintext
11 lines
408 B
Plaintext
RUN: mkdir -p %t/empty.dSYM/Contents/Resources/DWARF
|
|
RUN: mkdir -p %t/malformed.dSYM/Contents/blah
|
|
|
|
RUN: not llvm-dwarfdump %t/empty.dSYM 2>&1 | FileCheck %s --check-prefix ERR1
|
|
RUN: not llvm-dwarfdump %t/malformed.dSYM 2>&1 | FileCheck %s --check-prefix ERR2
|
|
|
|
|
|
ERR1: error: {{.*}}.dSYM: no objects found in dSYM bundle
|
|
|
|
ERR2: error: {{.*}}.dSYM: expected directory 'Contents/Resources/DWARF' in dSYM bundle
|