Revert r371023 "[lib/ObjectYAML] - Stop calling error(1) when mapping the st_other...
[llvm-complete.git] / test / DebugInfo / dwarfdump-bad-lookup-address.test
blobfc8885136291bafc54182c58c1d62908614bfd2c
1 #RUN: llvm-dwarfdump -lookup 1161 %p/Inputs/dwarfdump-test.macho-i386.o | FileCheck %s
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).
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