[ORC] Add std::tuple support to SimplePackedSerialization.
[llvm-project.git] / llvm / test / DebugInfo / X86 / DW_OP_call_ref_dwarf64.s
blob5031e141956d2662c1a41005c7981946d6ac7779
1 # RUN: llvm-mc -triple x86_64 %s -filetype=obj -o %t.o
2 # RUN: llvm-dwarfdump -debug-info %t.o | FileCheck %s
3 # RUN: llvm-dwarfdump -verify %t.o | FileCheck %s --check-prefix=VERIFY
5 # CHECK: DW_TAG_variable
6 # CHECK-NEXT: DW_AT_location (DW_OP_call_ref 0x1100223344)
8 # VERIFY-NOT: error: DIE contains invalid DWARF expression:
9 # VERIFY: No errors.
11 .section .debug_abbrev,"",@progbits
12 .uleb128 1 # Abbreviation Code
13 .uleb128 17 # DW_TAG_compile_unit
14 .byte 1 # DW_CHILDREN_yes
15 .byte 0 # EOM(1)
16 .byte 0 # EOM(2)
17 .uleb128 5 # Abbreviation Code
18 .uleb128 52 # DW_TAG_variable
19 .byte 0 # DW_CHILDREN_no
20 .uleb128 2 # DW_AT_location
21 .uleb128 24 # DW_FORM_exprloc
22 .byte 0 # EOM(1)
23 .byte 0 # EOM(2)
24 .byte 0 # EOM(3)
26 .section .debug_info,"",@progbits
27 .long 0xffffffff # DWARF64 mark
28 .quad .Lcu_end-.Lcu_start # Length of Unit
29 .Lcu_start:
30 .short 5 # DWARF version number
31 .byte 1 # DW_UT_compile
32 .byte 8 # Address Size
33 .quad .debug_abbrev # Offset Into Abbrev. Section
34 .uleb128 1 # Abbrev [1] DW_TAG_compile_unit
35 .uleb128 5 # Abbrev [5] DW_TAG_variable
36 .byte .Lloc_end-.Lloc_begin # DW_AT_location
37 .Lloc_begin:
38 .byte 154 # DW_OP_call_ref
39 .quad 0x1100223344 # Offset
40 .Lloc_end:
41 .byte 0 # End Of Children Mark
42 .Lcu_end: