Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-dwarfdump / X86 / debug_info_min_dwarf64.s
blob93de3a7a5918a5c8e6d1c99d7536d016a68ec912
1 # RUN: llvm-mc %s -filetype obj -triple x86_64-unknown-elf -o - | \
2 # RUN: llvm-dwarfdump -debug-info - | \
3 # RUN: FileCheck %s
5 .section .debug_abbrev,"",@progbits
6 .byte 0x01 # Abbrev code
7 .byte 0x11 # DW_TAG_compile_unit
8 .byte 0x00 # DW_CHILDREN_no
9 .byte 0x13 # DW_AT_language
10 .byte 0x05 # DW_FORM_data2
11 .byte 0x00 # EOM(1)
12 .byte 0x00 # EOM(2)
13 .byte 0x00 # EOM(3)
15 .section .debug_info,"",@progbits
16 # CHECK: .debug_info contents:
17 # CHECK-NEXT: 0x00000000: Compile Unit:
18 DI_4_64_start:
19 .long 0xffffffff # DWARF64 mark
20 .quad DI_4_64_end - DI_4_64_version # Length of Unit
21 # CHECK-SAME: length = 0x000000000000000f
22 # CHECK-SAME: format = DWARF64
23 DI_4_64_version:
24 .short 4 # DWARF version number
25 # CHECK-SAME: version = 0x0004
26 .quad .debug_abbrev # Offset Into Abbrev. Section
27 # CHECK-SAME: abbr_offset = 0x0000
28 .byte 8 # Address Size (in bytes)
29 # CHECK-SAME: addr_size = 0x08
30 # CHECK-SAME: (next unit at 0x0000001b)
32 .byte 1 # Abbreviation code
33 # CHECK: 0x00000017: DW_TAG_compile_unit
34 .short 4 # DW_LANG_C_plus_plus
35 # CHECK-NEXT: DW_AT_language (DW_LANG_C_plus_plus)
36 .byte 0 # NULL
37 DI_4_64_end: