1 # RUN: yaml2obj %s -o %t.o
2 # RUN: not llvm-dwarfdump -debug-line -verify %t.o | FileCheck %s
4 # CHECK: Verifying .debug_line...
5 # CHECK-NEXT: error: .debug_line[0x00000000][1] has invalid file index 5 (valid values are [1,1]):
19 Tag: DW_TAG_compile_unit
20 Children: DW_CHILDREN_no
22 - Attribute: DW_AT_name
24 - Attribute: DW_AT_stmt_list
25 Form: DW_FORM_sec_offset
30 - AbbrCode: 0x00000001
32 - Value: 0x0000000000000001
33 - Value: 0x0000000000000000
41 StandardOpcodeLengths: [ 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1 ]
50 - Opcode: DW_LNS_extended_op
52 SubOpcode: DW_LNE_set_address
54 - Opcode: DW_LNS_advance_line
59 - Opcode: DW_LNS_advance_pc
61 - Opcode: DW_LNS_set_file
63 - Opcode: DW_LNS_extended_op
65 SubOpcode: DW_LNE_end_sequence