brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · 054a9e2 Raw
34 lines · plain
1# RUN: llvm-mc -triple x86_64-unknown-linux %s -filetype=obj -o - | \2# RUN:   llvm-dwarfdump -debug-cu-index - | \3# RUN:   FileCheck %s --strict-whitespace4 5# CHECK:      .debug_cu_index contents:6# CHECK-NEXT: version = 2, units = 1, slots = 27# CHECK-EMPTY:8# CHECK-NEXT: Index Signature          Unknown: 9               INFO9# CHECK-NEXT: ----- ------------------ ------------------------ ----------------------------------------10# CHECK-NEXT:     1 0x1100001122222222 [0x00001000, 0x00001010) [0x0000000000002000, 0x0000000000002020)11 12    .section .debug_cu_index, "", @progbits13## Header:14    .long 2             # Version15    .long 2             # Section count16    .long 1             # Unit count17    .long 2             # Slot count18## Hash Table of Signatures:19    .quad 0x110000112222222220    .quad 021## Parallel Table of Indexes:22    .long 123    .long 024## Table of Section Offsets:25## Row 0:26    .long 9             # Unknown section identifier27    .long 1             # DW_SECT_INFO28## Row 1:29    .long 0x1000        # Offset in an unknown section30    .long 0x2000        # Offset in .debug_info.dwo31## Table of Section Sizes:32    .long 0x10          # Size in an unknown section33    .long 0x20          # Size in .debug_info.dwo34