62 lines · yaml
1# RUN: yaml2obj %s -o %t.o2# RUN: not llvm-dwarfdump -verify %t.o | FileCheck %s3 4# CHECK: Verifying non-dwo Units...5# CHECK-NEXT: Verifying unit: 1 / 1, "/tmp/main.c" 6# CHECK-NEXT: error: DIE address ranges are not contained in its parent's ranges:7 8--- !ELF9FileHeader:10 Class: ELFCLASS6411 Data: ELFDATA2LSB12 Type: ET_EXEC13DWARF:14 debug_str:15 - ''16 - /tmp/main.c17 - main18 debug_abbrev:19 - Table:20 - Code: 0x0000000121 Tag: DW_TAG_compile_unit22 Children: DW_CHILDREN_yes23 Attributes:24 - Attribute: DW_AT_name25 Form: DW_FORM_strp26 - Code: 0x0000000227 Tag: DW_TAG_subprogram28 Children: DW_CHILDREN_yes29 Attributes:30 - Attribute: DW_AT_name31 Form: DW_FORM_strp32 - Attribute: DW_AT_low_pc33 Form: DW_FORM_addr34 - Attribute: DW_AT_high_pc35 Form: DW_FORM_addr36 - Code: 0x0000000337 Tag: DW_TAG_lexical_block38 Children: DW_CHILDREN_no39 Attributes:40 - Attribute: DW_AT_low_pc41 Form: DW_FORM_addr42 - Attribute: DW_AT_high_pc43 Form: DW_FORM_addr44 debug_info:45 - Version: 446 AddrSize: 847 Entries:48 - AbbrCode: 0x0000000149 Values:50 - Value: 0x000000000000000151 - AbbrCode: 0x0000000252 Values:53 - Value: 0x000000000000000D54 - Value: 0x000000000000100055 - Value: 0x000000000000200056 - AbbrCode: 0x0000000357 Values:58 - Value: 0x000000000000100059 - Value: 0x000000000000200160 - AbbrCode: 0x0000000061 - AbbrCode: 0x0000000062