Compiler projects using llvm
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