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: two compile unit DIEs, 0x0000000b and 0x0000001f, have the same DW_AT_stmt_list section offset:
20 Tag: DW_TAG_compile_unit
21 Children: DW_CHILDREN_no
23 - Attribute: DW_AT_name
25 - Attribute: DW_AT_stmt_list
26 Form: DW_FORM_sec_offset
31 - AbbrCode: 0x00000001
33 - Value: 0x0000000000000001
34 - Value: 0x0000000000000000
40 - AbbrCode: 0x00000001
42 - Value: 0x000000000000000D
43 - Value: 0x0000000000000000
51 StandardOpcodeLengths: [ 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1 ]
60 - Opcode: DW_LNS_extended_op
62 SubOpcode: DW_LNE_set_address
64 - Opcode: DW_LNS_advance_line
69 - Opcode: DW_LNS_advance_pc
71 - Opcode: DW_LNS_extended_op
73 SubOpcode: DW_LNE_end_sequence