65 lines · yaml
1# RUN: yaml2obj %s -o %t.o2# RUN: not llvm-dwarfdump -debug-line -verify %t.o | FileCheck %s3 4# CHECK: Verifying .debug_line...5# CHECK-NEXT: error: .debug_line[0x00000000] row[1] decreases in address from previous row:6 7--- !ELF8FileHeader:9 Class: ELFCLASS6410 Data: ELFDATA2LSB11 Type: ET_EXEC12DWARF:13 debug_str:14 - ''15 - /tmp/main.c16 debug_abbrev:17 - Table:18 - Code: 0x0000000119 Tag: DW_TAG_compile_unit20 Children: DW_CHILDREN_no21 Attributes:22 - Attribute: DW_AT_name23 Form: DW_FORM_strp24 - Attribute: DW_AT_stmt_list25 Form: DW_FORM_sec_offset26 debug_info:27 - Version: 428 AddrSize: 829 Entries:30 - AbbrCode: 0x0000000131 Values:32 - Value: 0x000000000000000133 - Value: 0x000000000000000034 debug_line:35 - Version: 236 MinInstLength: 137 DefaultIsStmt: 138 LineBase: 25139 LineRange: 1440 OpcodeBase: 1341 StandardOpcodeLengths: [ 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1 ]42 IncludeDirs:43 - /tmp44 Files:45 - Name: main.c46 DirIdx: 147 ModTime: 048 Length: 049 Opcodes:50 - Opcode: DW_LNS_extended_op51 ExtLen: 952 SubOpcode: DW_LNE_set_address53 Data: 411254 - Opcode: DW_LNS_advance_line55 SData: 956 Data: 411257 - Opcode: DW_LNS_copy58 Data: 411259 - Opcode: DW_LNS_advance_pc60 Data: 1844674407370955160061 - Opcode: DW_LNS_extended_op62 ExtLen: 163 SubOpcode: DW_LNE_end_sequence64 Data: 1844674407370955160065