brintos

brintos / llvm-project-archived public Read only

0
0
Text · 3.3 KiB · d82c861 Raw
102 lines · plain
1# Dump the complete .debug_line.dwo, then just one part.2#3# RUN: llvm-mc -triple x86_64-unknown-unknown -filetype=obj %s -o %t.o4# RUN: llvm-dwarfdump -debug-line %t.o | FileCheck %s --check-prefixes=PART1,PART25# RUN: llvm-dwarfdump -debug-line=0x32 %t.o | FileCheck %s --check-prefix=PART26 7        .section .debug_line.dwo,"e",@progbits8LH_1_start:9        .long   LH_1_end-LH_1_version   # Length of Unit10LH_1_version:11        .short  4               # DWARF version number12        .long   LH_1_header_end-LH_1_params     # Length of Prologue13LH_1_params:14        .byte   1               # Minimum Instruction Length15        .byte   1               # Maximum Operations per Instruction16        .byte   1               # Default is_stmt17        .byte   -5              # Line Base18        .byte   14              # Line Range19        .byte   13              # Opcode Base20        .byte   0               # Standard Opcode Lengths21        .byte   122        .byte   123        .byte   124        .byte   125        .byte   026        .byte   027        .byte   028        .byte   129        .byte   030        .byte   031        .byte   132        # Directory table33        .asciz  "Directory1"34        .byte   035        # File table36        .asciz  "File1"         # File name37        .byte   1               # Directory index38        .byte   0x41            # Timestamp39        .byte   0x42            # File Size40        .byte   0               # End of list41LH_1_header_end:42        # Line number program, which is empty.43LH_1_end:44 45# PART1:      Line table prologue:46# PART1-NEXT: total_length: 0x0000002e47# PART1-NEXT: format: DWARF3248# PART1-NEXT: version: 449# PART1-NEXT: prologue_length: 0x0000002850# PART1:      include_directories[  1] = "Directory1"51# PART1:      file_names[  1]52# PART1:      name: "File1"53 54# Second line table.55LH_2_start:56        .long   LH_2_end-LH_2_version   # Length of Unit57LH_2_version:58        .short  4               # DWARF version number59        .long   LH_2_header_end-LH_2_params     # Length of Prologue60LH_2_params:61        .byte   1               # Minimum Instruction Length62        .byte   1               # Maximum Operations per Instruction63        .byte   1               # Default is_stmt64        .byte   -5              # Line Base65        .byte   14              # Line Range66        .byte   13              # Opcode Base67        .byte   0               # Standard Opcode Lengths68        .byte   169        .byte   170        .byte   171        .byte   172        .byte   073        .byte   074        .byte   075        .byte   176        .byte   077        .byte   078        .byte   179        # Directory table80        .asciz  "Dir2"81        .byte   082        # File table83        .asciz  "File2"         # File name84        .byte   1               # Directory index85        .byte   0x14            # Timestamp86        .byte   0x24            # File Size87        .byte   0               # End of list88LH_2_header_end:89        # Line number program, which is empty.90LH_2_end:91 92# PART2:      Line table prologue:93# PART2-NEXT: total_length: 0x0000002894# PART2-NEXT: format: DWARF3295# PART2-NEXT: version: 496# PART2-NEXT: prologue_length: 0x0000002297# PART2-NOT:  prologue:98# PART2:      include_directories[  1] = "Dir2"99# PART2:      file_names[  1]100# PART2:      name: "File2"101# PART2-NOT:  prologue:102