1# RUN: yaml2obj %s -o %t.o 2# RUN: not llvm-dwarfdump -verify %t.o | FileCheck %s 3 4# CHECK: Verifying non-dwo Units... 5# CHECK-NEXT: Verifying unit: 1 / 1, "/tmp/main.c" 6# CHECK-NEXT: error: DIEs have overlapping address ranges 7 8--- !ELF 9FileHeader: 10 Class: ELFCLASS64 11 Data: ELFDATA2LSB 12 Type: ET_EXEC 13DWARF: 14 debug_str: 15 - '' 16 - /tmp/main.c 17 - main 18 - foo 19 debug_abbrev: 20 - Table: 21 - Code: 0x00000001 22 Tag: DW_TAG_compile_unit 23 Children: DW_CHILDREN_yes 24 Attributes: 25 - Attribute: DW_AT_name 26 Form: DW_FORM_strp 27 - Code: 0x00000002 28 Tag: DW_TAG_subprogram 29 Children: DW_CHILDREN_no 30 Attributes: 31 - Attribute: DW_AT_name 32 Form: DW_FORM_strp 33 - Attribute: DW_AT_low_pc 34 Form: DW_FORM_addr 35 - Attribute: DW_AT_high_pc 36 Form: DW_FORM_addr 37 debug_info: 38 - Version: 4 39 AddrSize: 8 40 Entries: 41 - AbbrCode: 0x00000001 42 Values: 43 - Value: 0x0000000000000001 44 - AbbrCode: 0x00000002 45 Values: 46 - Value: 0x000000000000000D 47 - Value: 0x0000000000001000 48 - Value: 0x0000000000002000 49 - AbbrCode: 0x00000002 50 Values: 51 - Value: 0x0000000000000012 52 - Value: 0x0000000000001FFF 53 - Value: 0x0000000000002000 54 - AbbrCode: 0x00000000 55 56