hanchenye-llvm-project/lld/test/COFF/out.test

17 lines
490 B
Plaintext
Raw Normal View History

# RUN: yaml2obj < %p/Inputs/ret42.yaml > %t.obj
# RUN: mkdir -p %T/out/tmp
# RUN: cp %t.obj %T/out/out1.obj
# RUN: cp %t.obj %T/out/tmp/out2
# RUN: cp %t.obj %T/out/tmp/out3.xyz
# RUN: lld -flavor link2 /entry:main %T/out/out1.obj
# RUN: lld -flavor link2 /entry:main %T/out/tmp/out2
# RUN: lld -flavor link2 /entry:main %T/out/tmp/out3.xyz
# RUN: llvm-readobj out1.exe | FileCheck %s
# RUN: llvm-readobj out2.exe | FileCheck %s
# RUN: llvm-readobj out3.exe | FileCheck %s
CHECK: File: