[llvm] Do not replace dead constant references in metadata with undef
[llvm-project.git] / lld / test / ELF / Inputs / gdb-index-multiple-cu-2.s
blob997eb6be3e5230c279ad0872dbf93605ca5cdfa2
1 .globl _start
2 _start:
4 .section .debug_abbrev,"",@progbits
5 .byte 1 # Abbreviation Code
6 .byte 17 # DW_TAG_compile_unit
7 .byte 1 # DW_CHILDREN_yes
8 .ascii "\264B" # DW_AT_GNU_pubnames
9 .byte 25 # DW_FORM_flag_present
10 .byte 0 # EOM(1)
11 .byte 0 # EOM(2)
12 .byte 2 # Abbreviation Code
13 .byte 46 # DW_TAG_subprogram
14 .byte 0 # DW_CHILDREN_no
15 .byte 3 # DW_AT_name
16 .byte 8 # DW_FORM_string
17 .byte 0 # EOM(1)
18 .byte 0 # EOM(2)
19 .byte 0
21 .section .debug_info,"",@progbits
22 .Lcu_begin0:
23 .long .Lcu_end0 - .Lcu_begin0 - 4
24 .short 4 # DWARF version number
25 .long 0 # Offset Into Abbrev. Section
26 .byte 4 # Address Size
27 .Ldie:
28 .byte 1 # Abbrev [1] DW_TAG_compile_unit
29 .byte 2 # Abbrev [2] DW_TAG_subprogram
30 .asciz "_start" # DW_AT_name
31 .byte 0
32 .Lcu_end0:
34 # .debug_gnu_pubnames has just one set, associated with .Lcu_begin1 (cuIndex: 1)
35 .section .debug_gnu_pubnames,"",@progbits
36 .long .LpubNames_end0 - .LpubNames_begin0
37 .LpubNames_begin0:
38 .short 2 # Version
39 .long .Lcu_begin0 # CU Offset
40 .long .Lcu_end0 - .Lcu_begin0
41 .long .Ldie - .Lcu_begin0
42 .byte 48 # Attributes: FUNCTION, EXTERNAL
43 .asciz "_start" # External Name
44 .long 0
45 .LpubNames_end0: