brintos

brintos / llvm-project-archived public Read only

0
0
Text · 552 B · ff07022 Raw
28 lines · plain
1# REQUIRES: x862 3# RUN: split-file %s %t.dir4# RUN: llvm-mc --filetype=obj -triple=x86_64-windows-msvc %t.dir/foo.s -o %t.foo.obj5# RUN: llvm-mc --filetype=obj -triple=x86_64-windows-msvc %t.dir/qux.s -o %t.qux.obj6# RUN: lld-link %t.qux.obj %t.foo.obj -out:%t.dll -dll7# RUN: lld-link %t.foo.obj %t.qux.obj -out:%t.dll -dll8#9#--- foo.s10.text11bar:12  ret13 14.weak a15.weak b16.weak c17.set a, bar18.set b, bar19.set c, bar20#--- qux.s21.text22.global _DllMainCRTStartup23_DllMainCRTStartup:24  call *__imp_a(%rip)25  call *__imp_b(%rip)26  call *__imp_c(%rip)27  ret28