[llvm] [GOFF] Refactor writing GOFF records (PR #93855)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 3 01:05:51 PDT 2024


================
@@ -0,0 +1,74 @@
+# RUN: awk 'BEGIN {str = sprintf("%47s", "")} {gsub("@FILL@", str); print}' < %s | \
+# RUN:   yaml2obj | od -v -An -tx1 | \
----------------
jh7370 wrote:

I would prefer to have yaml2obj generate the output object on disk and then use `od` or whatever to check its contents. This makes it easier to debug the output file if the test starts failing.

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


More information about the llvm-commits mailing list