[llvm] [Object] Beginnings of SFrame parser and dumper (PR #147294)

Pavel Labath via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 14 04:21:10 PDT 2025


================
@@ -0,0 +1,118 @@
+## Check parsing and dumping of the SFrame header.
+# RUN: yaml2obj --docnum=1 %s -o %t.1
----------------
labath wrote:

I don't expect *heavy* sframe development -- at least not on the parsing side. My dumper  prototype was about 500LOC. It will probably swell a bit for the production version, but it's going to be the same ballpark. The main reason we are doing this is to test the generator. To add YAML support, I'd basically need to write another generator, and then I'd still need a bunch of hex bytes somewhere to ground the testing chain.

So, if at all possible, I'd like to avoid adding YAML support at the moment. :)

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


More information about the llvm-commits mailing list