| 1 |
# RUN: yaml2obj %s | llvm-dwarfdump -verify - | FileCheck %s |
| 2 |
# CHECK: warning: DW_TAG_compile_unit has DW_CHILDREN_yes but DIE has no children |
| 3 |
|
| 4 |
--- !ELF |
| 5 |
FileHeader: |
| 6 |
Class: ELFCLASS64 |
| 7 |
Data: ELFDATA2LSB |
| 8 |
Type: ET_EXEC |
| 9 |
DWARF: |
| 10 |
debug_abbrev: |
| 11 |
- Table: |
| 12 |
- Tag: DW_TAG_compile_unit |
| 13 |
Children: DW_CHILDREN_yes |
| 14 |
Attributes: |
| 15 |
- Attribute: DW_AT_low_pc |
| 16 |
Form: DW_FORM_data4 |
| 17 |
debug_info: |
| 18 |
- Version: 4 |
| 19 |
Entries: |
| 20 |
- AbbrCode: 1 |
| 21 |
Values: |
| 22 |
- Value: 0x1234 |
| 23 |
- AbbrCode: 0 ## Terminator for the current DIE. |