[llvm] Do not replace dead constant references in metadata with undef
[llvm-project.git] / lld / test / ELF / llvm33-rela-outside-group.s
blob1c87817e0c75f925f5f15bcba3338ddfbcd7c43b
1 // Input file generated with:
2 // llvm33/llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %S/Inputs/llvm33-rela-outside-group.o
3 //
4 // RUN: ld.lld -shared %S/Inputs/llvm33-rela-outside-group.o %S/Inputs/llvm33-rela-outside-group.o -o /dev/null
6 .global bar
7 .weak _Z3fooIiEvv
9 .section .text._Z3fooIiEvv,"axG",@progbits,_Z3fooIiEvv,comdat
10 _Z3fooIiEvv:
11 callq bar@PLT