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-whitespace
5 # CHECK: .debug_cu_index contents:
6 # CHECK-NEXT: version = 2, units = 1, slots = 2
8 # CHECK-NEXT: Index Signature Unknown: 9 INFO
9 # CHECK-NEXT: ----- ------------------ ------------------------ ----------------------------------------
10 # CHECK-NEXT: 1 0x1100001122222222 [0x00001000, 0x00001010) [0x0000000000002000, 0x0000000000002020)
12 .section .debug_cu_index, "", @progbits
15 .long 2 # Section count
18 ## Hash Table of Signatures:
19 .quad 0x1100001122222222
21 ## Parallel Table of Indexes:
24 ## Table of Section Offsets:
26 .long 9 # Unknown section identifier
27 .long 1 # DW_SECT_INFO
29 .long 0x1000 # Offset in an unknown section
30 .long 0x2000 # Offset in .debug_info.dwo
31 ## Table of Section Sizes:
32 .long 0x10 # Size in an unknown section
33 .long 0x20 # Size in .debug_info.dwo