25 lines · plain
1// REQUIRES: x862// RUN: split-file %s %t.dir && cd %t.dir3 4// RUN: llvm-mc -filetype=obj -triple=i686-windows test.s -o test.obj5// RUN: llvm-mc -filetype=obj -triple=i686-windows lib.s -o lib.obj6// RUN: lld-link -dll -noentry -out:out.dll test.obj -start-lib lib.obj -end-lib -lldmingw7 8#--- test.s9 .section .test,"dr"10 .rva _func@411 12#--- lib.s13 .globl _func14_func:15 ret16 17 // These symbols don't have lazy entries in the symbol table initially,18 // but will be added during resolution from _func@4 to _func. Make sure this19 // scenario is handled properly.20 .weak_anti_dep _func@521 .set _func@5,_func22 23 .weak_anti_dep _func@324 .set _func@3,_func25