1 # RUN: yaml2obj %s -o %t.o
2 # RUN: llvm-dwarfdump -debug-str-offsets -verify %t.o | FileCheck %s
4 # CHECK: Verifying .debug_str_offsets...
7 # Check that when mixing standard DWARF 4 debug information with standard DWARF
8 # 5 debug information, the verifier correctly interprets the debug_str_offsets
9 # section as a standards-conforming DWARF 5 section.
26 Tag: DW_TAG_compile_unit
27 Children: DW_CHILDREN_no
29 - Attribute: DW_AT_name
32 Tag: DW_TAG_compile_unit
33 Children: DW_CHILDREN_no
35 - Attribute: DW_AT_name
37 - Attribute: DW_AT_str_offsets_base
38 Form: DW_FORM_sec_offset
49 UnitType: DW_UT_compile
57 - Value: 0x8 # str offsets base