19 lines · plain
1# REQUIRES: x862 3# RUN: llvm-mc -filetype=obj -triple=i686-windows %s -o %t.obj4# RUN: llvm-lib -machine:x86 -out:%t-func.lib %t.obj5 6# -export:func creates a weak alias to a lazy symbol. Make sure we can handle that when processing -export:func2=func.7# RUN: lld-link -dll -noentry -machine:x86 -out:%t.dll %t-func.lib -export:func -export:func2=func8 9 .text10 .def @feat.00;11 .scl 3;12 .type 0;13 .endef14 .globl @feat.0015.set @feat.00, 116 .globl _func@017_func@0:18 retl19