[llvm] [llvm-readobj] Support --symbol-table for COFF (PR #141552)

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Tue May 27 00:08:00 PDT 2025


================
@@ -0,0 +1,60 @@
+# RUN: yaml2obj %s -o %t.obj
----------------
mstorsjo wrote:

I think that making `yaml2obj` produce malformed string tables is out of scope here; as the yaml representation doesn't contain the string table explicitly at all, but it is created implicitly from strings needed for symbols and sections, it would be a significant change/extension to the yaml format just for testing those invalid cases.

So for testing those cases, practically, I think bundling a small binary file is the most pragmatic solution.

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


More information about the llvm-commits mailing list