Summary: These command line invocations can become so large that they no longer fit, we should support response files in this case so the build on Windows can be unblocked with the new driver.
18 lines
660 B
LLVM
18 lines
660 B
LLVM
; RUN: llvm-offload-binary -o %t --image=file=%s,arch=abc,triple=x-y-z
|
|
; RUN: llvm-objdump --offloading %t | FileCheck %s
|
|
; RUN: llvm-offload-binary %t --image=file=%t2,arch=abc,triple=x-y-z
|
|
; RUN: echo "-o %t --image=file=%s,arch=abc,triple=x-y-z" > %t.rsp
|
|
; RUN: llvm-offload-binary @%t.rsp
|
|
; RUN: llvm-objdump --offloading %t | FileCheck %s
|
|
; RUN: diff %s %t2
|
|
|
|
; CHECK: OFFLOADING IMAGE [0]:
|
|
; CHECK-NEXT: kind <none>
|
|
; CHECK-NEXT: arch abc
|
|
; CHECK-NEXT: triple x-y-z
|
|
; CHECK-NEXT: producer none
|
|
|
|
; RUN: llvm-offload-binary -o %t3 --image=file=%s
|
|
; RUN: llvm-offload-binary %t3 --image=file=%t4
|
|
; RUN: diff %s %t4
|