[llvm] [SystemZ][z/OS] yaml2obj for header and end records (PR #73859)

Yusra Syeda via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 5 08:20:53 PST 2023


================
@@ -0,0 +1,18 @@
+# RUN: yaml2obj %s | od -v -An -tx1 | FileCheck --ignore-case %s
+
+# Verify that GOFF Header is correct.
+# CHECK: 03 f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+# CHECK: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+# CHECK: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+# CHECK: 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00
+# CHECK: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+
+# Verify GOFF Module end.
+# CHECK: 03 40 00 00 00 00 00 00 00 00 00 02 00 00 00 00
+# CHECK: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+# CHECK: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+# CHECK: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+# CHECK: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
----------------
ysyeda wrote:

I resolved this accidentally. 
When I try to add `--implicit-check-not={{.}}`, my test fails at the first line. The output of `od` shows exactly the same GOFF output. Not sure if I'm missing something obvious here.

https://github.com/llvm/llvm-project/pull/73859


More information about the llvm-commits mailing list