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

Haohai Wen via llvm-commits llvm-commits at lists.llvm.org
Tue May 27 02:38:07 PDT 2025


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

StringTableSize has been set to at least and there's assertion to make sure stringtable end must be '\0'.
https://github.com/llvm/llvm-project/blob/6da8f3bd5df2bb860f8cc32e9cfc739baf102295/llvm/lib/Object/COFFObjectFile.cpp#L442-L450

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


More information about the llvm-commits mailing list