brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.4 KiB · 52474ab Raw
46 lines · yaml
1# RUN: yaml2obj %s -o %t.o2# RUN: not llvm-dwarfdump -debug-info -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: DW_FORM_ref4 CU offset 0x00001234 is invalid (must be less than CU size of 0x0000001a):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_no29          Attributes:30            - Attribute:       DW_AT_name31              Form:            DW_FORM_strp32            - Attribute:       DW_AT_type33              Form:            DW_FORM_ref434  debug_info:35    - Version:         436      AddrSize:        837      Entries:38        - AbbrCode:        0x0000000139          Values:40            - Value:           0x000000000000000141        - AbbrCode:        0x0000000242          Values:43            - Value:           0x000000000000000D44            - Value:           0x000000000000123445        - AbbrCode:        0x0000000046