29 lines
722 B
YAML
29 lines
722 B
YAML
# RUN: yaml2obj %s -o %t.o
|
|
# RUN: not llvm-dwarfdump -verify %t.o | FileCheck %s
|
|
|
|
# CHECK: Verifying .debug_info Unit Header Chain...
|
|
# CHECK-NEXT: error: Invalid address range [0x0000000000000007, 0x0000000000000006)
|
|
|
|
--- !ELF
|
|
FileHeader:
|
|
Class: ELFCLASS64
|
|
Data: ELFDATA2LSB
|
|
Type: ET_EXEC
|
|
DWARF:
|
|
debug_abbrev:
|
|
- Table:
|
|
- Tag: DW_TAG_compile_unit
|
|
Children: DW_CHILDREN_no
|
|
Attributes:
|
|
- Attribute: DW_AT_low_pc
|
|
Form: DW_FORM_addr
|
|
- Attribute: DW_AT_high_pc
|
|
Form: DW_FORM_addr
|
|
debug_info:
|
|
- Version: 4
|
|
Entries:
|
|
- AbbrCode: 1
|
|
Values:
|
|
- Value: 0x07
|
|
- Value: 0x06
|