[Alignment][NFC] Instructions::getLoadStoreAlignment
[llvm-complete.git] / test / tools / llvm-dwarfdump / X86 / typeunit-v5-dwarf64.s
blob1a82a05003ad4f075056569edbc3d0448962b690
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 0x41 # DW_TAG_type_unit
8 .byte 0x01 # DW_CHILDREN_yes
9 .byte 0x17 # DW_AT_visibility
10 .byte 0x0b # DW_FORM_data1
11 .byte 0x00 # EOM(1)
12 .byte 0x00 # EOM(2)
13 .byte 0x02 # Abbrev code
14 .byte 0x13 # DW_TAG_structure_type
15 .byte 0x00 # DW_CHILDREN_no (no members)
16 .byte 0x17 # DW_AT_visibility
17 .byte 0x0b # DW_FORM_data1
18 .byte 0x00 # EOM(1)
19 .byte 0x00 # EOM(2)
20 .byte 0x00 # EOM(3)
22 .section .debug_info,"",@progbits
23 # CHECK: .debug_info contents:
24 # CHECK-NEXT: 0x00000000: Type Unit:
25 TU_5_64_start:
26 .long 0xffffffff # DWARF64 mark
27 .quad TU_5_64_end-TU_5_64_version # Length of Unit
28 # CHECK-SAME: length = 0x00000022
29 TU_5_64_version:
30 .short 5 # DWARF version number
31 # CHECK-SAME: version = 0x0005
32 .byte 2 # DW_UT_type
33 .byte 8 # Address Size (in bytes)
34 .quad .debug_abbrev # Offset Into Abbrev. Section
35 # CHECK-SAME: abbr_offset = 0x0000
36 # CHECK-SAME: addr_size = 0x08
37 # CHECK-SAME: name = ''
38 .quad 0x0011223344556677 # Type Signature
39 # CHECK-SAME: type_signature = 0x0011223344556677
40 .quad TU_5_64_type-TU_5_64_start # Type offset
41 # CHECK-SAME: type_offset = 0x002a
42 # CHECK-SAME: (next unit at 0x0000002e)
44 .byte 1 # Abbreviation code
45 # CHECK: 0x00000028: DW_TAG_type_unit
46 .byte 1 # DW_VIS_local
47 # CHECK-NEXT: DW_AT_visibility (DW_VIS_local)
49 TU_5_64_type:
50 .byte 2 # Abbreviation code
51 # CHECK: 0x0000002a: DW_TAG_structure_type
52 .byte 1 # DW_VIS_local
53 # CHECK-NEXT: DW_AT_visibility (DW_VIS_local)
55 .byte 0 # NULL
56 # CHECK: 0x0000002c: NULL
57 .byte 0 # NULL
58 TU_5_64_end: