[llvm] Do not replace dead constant references in metadata with undef
[llvm-project.git] / lld / test / ELF / Inputs / arm-exidx-cantunwind.s
blob679cc75130966ea7c33dacb1cfb7a86488da3545
1 // Functions that will generate a .ARM.exidx section with SHF_LINK_ORDER
2 // dependency on the progbits section containing the .cantunwind directive
3 .syntax unified
4 .section .func1, "ax",%progbits
5 .globl func1
6 func1:
7 .fnstart
8 bx lr
9 .cantunwind
10 .fnend
12 .section .func2, "ax", %progbits
13 .globl func2
14 func2:
15 .fnstart
16 bx lr
17 .cantunwind
18 .fnend
20 .section .func3, "ax",%progbits
21 .globl func3
22 func3:
23 .fnstart
24 bx lr
25 .cantunwind
26 .fnend
28 .section .text, "ax",%progbits
29 .globl func4
30 func4:
31 .fnstart
32 bx lr
33 .cantunwind
34 .fnend
35 .globl func5
36 func5:
37 .fnstart
38 bx lr
39 .cantunwind
40 .fnend