1 RUN: mkdir -p %t/empty.dSYM/Contents/Resources/DWARF
2 RUN: mkdir -p %t/malformed.dSYM/Contents/blah
4 RUN: not llvm-dwarfdump %t/empty.dSYM 2>&1 | FileCheck %s --check-prefix ERR1
5 RUN: not llvm-dwarfdump %t/malformed.dSYM 2>&1 | FileCheck %s --check-prefix ERR2
8 ERR1: error: {{.*}}.dSYM: no objects found in dSYM bundle
10 ERR2: error: {{.*}}.dSYM: expected directory 'Contents/Resources/DWARF' in dSYM bundle