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