1#RUN: llvm-dwarfdump -lookup 1161 %p/Inputs/dwarfdump-test.macho-i386.o | FileCheck %s
2
3// When we pass an address to getDIEsFromAddress that doesn't belong to any DIE
4// (only to a CU), this function is triggering an assert, which is not the
5// intended behavior (as the address still belongs to a CU).
6
7#CHECK: DW_TAG_compile_unit
8#CHECK-NEXT:   DW_AT_producer{{.*}}"clang version 3.6.2 (tags/RELEASE_362/final)"
9#CHECK-NEXT:   DW_AT_language{{.*}}DW_LANG_C_plus_plus
10#CHECK-NEXT:   DW_AT_name{{.*}}"dwarfdump-test.cc"
11#CHECK-NOT:    DW_TAG
12