================
@@ -0,0 +1,57 @@
+## Tests that a separate DXContainer is created with only the specified section
+## for each --split-section specified. Also ensure that the part is removed
+## from the original object.
+
+# RUN: yaml2obj %s -o %t
+# RUN: llvm-objcopy %t --split-section=FKE1=%t.fke1.out 
--split-section=FKE4=%t.fke4.out
+# RUN: obj2yaml %t | FileCheck %s --check-prefix=ORIG
+# RUN: obj2yaml %t.fke1.out | FileCheck %s --check-prefixes=CHECK,FKE1
+# RUN: obj2yaml %t.fke4.out | FileCheck %s --check-prefixes=CHECK,FKE4
+
+--- !dxcontainer
+Header:
+  Hash:            [ 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
+                     0x0, 0x0, 0x0, 0x0, 0x0, 0x0 ]
+  Version:
+    Major:           1
+    Minor:           0
+## FKE1: FileSize:       52
----------------
hekota wrote:

All of these checks should have just a single `#`.

https://github.com/llvm/llvm-project/pull/153265
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to