================
@@ -16,40 +16,74 @@
; RUN: llvm-offload-binary %t3 --image=file=%t4
; RUN: diff %s %t4
+; Test extracting all images without specifying --image filters.
+; RUN: llvm-offload-binary %t | FileCheck --check-prefix=EXTRACT %s
+
+; EXTRACT: Extracted: llvm-offload-binary.{{.*}}-x-y-z-abc.0.
+
; Test nested OffloadBinary construction with multiple inner images.
; RUN: llvm-offload-binary -o %t5 --image=file=%s,arch=abc,triple=x-y-z
--image=file=%s,arch=def,triple=x-y-z
; RUN: llvm-offload-binary -o %t6 --image=file=%t5,arch=nested,triple=x-y-z
; RUN: llvm-objdump --offloading %t6 | FileCheck %s --check-prefix=NESTED
; NESTED: OFFLOADING IMAGE [0]:
-; NESTED: arch nested
-; NESTED: nested images 2
-; NESTED: OFFLOADING IMAGE [0.0]:
-; NESTED: arch abc
-; NESTED: OFFLOADING IMAGE [0.1]:
-; NESTED: arch def
+; NESTED-DAG: arch nested
+; NESTED-DAG: nested images 2
+; NESTED-DAG: OFFLOADING IMAGE [0.0]:
+; NESTED-DAG: arch abc
+; NESTED-DAG: OFFLOADING IMAGE [0.1]:
+; NESTED-DAG: arch def
----------------
jh7370 wrote:
Is DAG really appropriate here? This output should be deterministic and not
change between invocations or on different systems surely?
https://github.com/llvm/llvm-project/pull/184774
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits