blob: c6027b360e5cc8602942064eef80f709508a220f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
; 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: 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
|