brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.6 KiB · de6f325 Raw
51 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  debug_abbrev:18    - Table:19        - Code:            0x0000000120          Tag:             DW_TAG_compile_unit21          Children:        DW_CHILDREN_yes22          Attributes:23            - Attribute:       DW_AT_low_pc24              Form:            DW_FORM_addr25            - Attribute:       DW_AT_high_pc26              Form:            DW_FORM_addr27            - Attribute:       DW_AT_name28              Form:            DW_FORM_strp29        - Code:            0x0000000230          Tag:             DW_TAG_subprogram31          Children:        DW_CHILDREN_no32          Attributes:33            - Attribute:       DW_AT_low_pc34              Form:            DW_FORM_addr35            - Attribute:       DW_AT_high_pc36              Form:            DW_FORM_addr37  debug_info:38    - Version:         439      AddrSize:        840      Entries:41        - AbbrCode:        0x0000000142          Values:43            - Value:           0x000000000000100044            - Value:           0x000000000000150045            - Value:           0x000000000000000146        - AbbrCode:        0x0000000247          Values:48            - Value:           0x000000000000100049            - Value:           0x000000000000200050        - AbbrCode:        0x0000000051