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 4 5# CHECK: .debug_cu_index contents: 6# CHECK-NEXT: version = 2, units = 1, slots = 2 7# CHECK-EMPTY: 8# CHECK-NEXT: Index Signature Unknown: 9 INFO 9# CHECK-NEXT: ----- ------------------ ------------------------ ------------------------ 10# CHECK-NEXT: 1 0x1100001122222222 [0x00001000, 0x00001010) [0x00002000, 0x00002020) 11 12 .section .debug_cu_index, "", @progbits 13## Header: 14 .long 2 # Version 15 .long 2 # Section count 16 .long 1 # Unit count 17 .long 2 # Slot count 18## Hash Table of Signatures: 19 .quad 0x1100001122222222 20 .quad 0 21## Parallel Table of Indexes: 22 .long 1 23 .long 0 24## Table of Section Offsets: 25## Row 0: 26 .long 9 # Unknown section identifier 27 .long 1 # DW_SECT_INFO 28## Row 1: 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 34