49 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: Invalid address range7 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_no29 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 debug_info:37 - Version: 438 AddrSize: 839 Entries:40 - AbbrCode: 0x0000000141 Values:42 - Value: 0x000000000000000143 - AbbrCode: 0x0000000244 Values:45 - Value: 0x000000000000000D46 - Value: 0x000000000000100047 - Value: 0x000000000000090048 - AbbrCode: 0x0000000049