2015-06-07 08:20:32 +08:00
|
|
|
# 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
|
|
|
|
|
2015-08-07 00:19:35 +08:00
|
|
|
# RUN: lld -flavor link /entry:main %T/out/out1.obj
|
|
|
|
# RUN: lld -flavor link /entry:main %T/out/tmp/out2
|
|
|
|
# RUN: lld -flavor link /entry:main %T/out/tmp/out3.xyz
|
2015-06-07 08:20:32 +08:00
|
|
|
|
|
|
|
# RUN: llvm-readobj out1.exe | FileCheck %s
|
|
|
|
# RUN: llvm-readobj out2.exe | FileCheck %s
|
|
|
|
# RUN: llvm-readobj out3.exe | FileCheck %s
|
|
|
|
|
|
|
|
CHECK: File:
|