xref: /llvm-project/llvm/test/DebugInfo/X86/dwarf-empty-expression.s (revision 51d969dc27a80704038b653537fc12a31f4c31f0)
1# RUN: llvm-mc -triple x86_64-unknown-linux -filetype=obj %s -o %t.o
2# RUN: llvm-dwarfdump %t.o --debug-loclists | FileCheck %s
3
4# CHECK: DW_LLE_offset_pair     (0x0000000000000000, 0x0000000000000000): <empty>
5
6.Lfunc_begin0:
7.Ltmp1:
8.section .debug_loclists, "",@progbits
9        .long   .Ldebug_list_header_end0-.Ldebug_list_header_start0 # Length
10.Ldebug_list_header_start0:
11        .short  5                               # Version
12        .byte   8                               # Address size
13        .byte   0                               # Segment selector size
14        .long   1                               # Offset entry count
15.Lloclists_table_base0:
16        .long   .Ldebug_loc0-.Lloclists_table_base0
17.Ldebug_loc0:
18        .byte   4                               # DW_LLE_offset_pair
19        .uleb128 .Lfunc_begin0-.Lfunc_begin0    #   starting offset
20        .uleb128 .Ltmp1-.Lfunc_begin0           #   ending offset
21        .byte   0                               ### empty
22        .byte   0                               # DW_LLE_end_of_list
23.Ldebug_list_header_end0:
24