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: Invalid address range 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 debug_abbrev: 19 - Table: 20 - Code: 0x00000001 21 Tag: DW_TAG_compile_unit 22 Children: DW_CHILDREN_yes 23 Attributes: 24 - Attribute: DW_AT_name 25 Form: DW_FORM_strp 26 - Code: 0x00000002 27 Tag: DW_TAG_subprogram 28 Children: DW_CHILDREN_no 29 Attributes: 30 - Attribute: DW_AT_name 31 Form: DW_FORM_strp 32 - Attribute: DW_AT_low_pc 33 Form: DW_FORM_addr 34 - Attribute: DW_AT_high_pc 35 Form: DW_FORM_addr 36 debug_info: 37 - Version: 4 38 AddrSize: 8 39 Entries: 40 - AbbrCode: 0x00000001 41 Values: 42 - Value: 0x0000000000000001 43 - AbbrCode: 0x00000002 44 Values: 45 - Value: 0x000000000000000D 46 - Value: 0x0000000000001000 47 - Value: 0x0000000000000900 48 - AbbrCode: 0x00000000 49