brintos

brintos / llvm-project-archived public Read only

0
0
Text · 712 B · 533c1e4 Raw
21 lines · plain
1# RUN: yaml2obj %p/Inputs/ret42.yaml -o %t.obj2 3# RUN: mkdir -p %t.dir/out/tmp4# RUN: cp %t.obj %t.dir/out/out1.obj5# RUN: cp %t.obj %t.dir/out/tmp/out26# RUN: cp %t.obj %t.dir/out/tmp/out3.xyz7# RUN: lld-link /lib %t.obj /out:%t.dir/out/out4.lib8 9# RUN: rm -f out1.exe out2.exe out3.exe out3.dll out4.exe10# RUN: lld-link /entry:main %t.dir/out/out1.obj11# RUN: lld-link /entry:main %t.dir/out/tmp/out212# RUN: lld-link /dll /entry:main %t.dir/out/tmp/out3.xyz13# RUN: lld-link /entry:main -wholearchive:%t.dir/out/out4.lib14 15# RUN: llvm-readobj out1.exe | FileCheck %s16# RUN: llvm-readobj out2.exe | FileCheck %s17# RUN: llvm-readobj out3.dll | FileCheck %s18# RUN: llvm-readobj out4.exe | FileCheck %s19 20CHECK: File:21