[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / tools / llvm-dwarfdump / errors.test
blob54a37f7365eaba05ffb0b63f4affae83d8446e43
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