1 ## Test converting DWARF using relative path
3 # RUN: yaml2obj %s -o %t
4 # RUN: llvm-gsymutil --convert %t -o %t.gsym --segment-size=100000 --quiet 2>&1 | FileCheck %s --check-prefix=CONVERT
6 # CONVERT: Input file: {{.*\.yaml\.tmp}}
7 # CONVERT: Output file (x86_64): {{.*\.yaml\.tmp\.gsym}}
8 # CONVERT: Pruned 0 functions, ended with 1 total
25 Tag: DW_TAG_compile_unit
26 Children: DW_CHILDREN_yes
28 - Attribute: DW_AT_name
30 - Attribute: DW_AT_language
32 - Attribute: DW_AT_stmt_list
33 Form: DW_FORM_sec_offset
35 Tag: DW_TAG_subprogram
36 Children: DW_CHILDREN_no
38 - Attribute: DW_AT_name
40 - Attribute: DW_AT_low_pc
42 - Attribute: DW_AT_high_pc
71 StandardOpcodeLengths: [ 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1 ]
78 - Opcode: DW_LNS_extended_op
80 SubOpcode: DW_LNE_set_address
82 - Opcode: DW_LNS_advance_line
87 - Opcode: DW_LNS_advance_pc
89 - Opcode: DW_LNS_advance_line
94 - Opcode: DW_LNS_advance_line
99 - Opcode: DW_LNS_advance_pc
101 - Opcode: DW_LNS_advance_line
104 - Opcode: DW_LNS_extended_op
106 SubOpcode: DW_LNE_end_sequence