1# RUN: llvm-mc %s -filetype obj -triple x86_64-pc-linux -o %t.o 2# RUN: llvm-dwarfdump -v %t.o | FileCheck %s 3 4# Test dumping of multiple separate debug_loclist contributions 5# CHECK: .debug_loclists contents: 6# CHECK: 0x00000000: locations list header: 7# CHECK: 0x0000000c: 8# CHECK: DW_LLE_offset_pair (0x0000000000000001, 0x0000000000000002): DW_OP_consts +7, DW_OP_stack_value 9# CHECK: 0x00000014: locations list header: 10# CHECK: DW_LLE_offset_pair (0x0000000000000005, 0x0000000000000007): DW_OP_consts +12, DW_OP_stack_value 11 12 .section .debug_loclists,"",@progbits 13 .long .Ldebug_loclist_table_end0-.Ldebug_loclist_table_start0 # Length 14.Ldebug_loclist_table_start0: 15 .short 5 # Version 16 .byte 8 # Address size 17 .byte 0 # Segment selector size 18 .long 0 # Offset entry count 19 20 .byte 4 # DW_LLE_offset_pair 21 .uleb128 1 # starting offset 22 .uleb128 2 # ending offset 23 .byte 3 # Loc expr size 24 .byte 17 # DW_OP_consts 25 .byte 7 # 7 26 .byte 159 # DW_OP_stack_value 27 .byte 0 # DW_LLE_end_of_list 28.Ldebug_loclist_table_end0: 29 .long .Ldebug_loclist_table_end1-.Ldebug_loclist_table_start1 # Length 30.Ldebug_loclist_table_start1: 31 .short 5 # Version 32 .byte 8 # Address size 33 .byte 0 # Segment selector size 34 .long 0 # Offset entry count 35 36 .byte 4 # DW_LLE_offset_pair 37 .uleb128 5 # starting offset 38 .uleb128 7 # ending offset 39 .byte 3 # Loc expr size 40 .byte 17 # DW_OP_consts 41 .byte 12 # 12 42 .byte 159 # DW_OP_stack_value 43 .byte 0 # DW_LLE_end_of_list 44.Ldebug_loclist_table_end1: 45