[llvm] [llvm-objcopy][COFF] Update .symidx values after stripping (PR #153322)
Evgenii Kudriashov via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 2 19:00:01 PDT 2025
================
@@ -0,0 +1,225 @@
+## Bail out if a section consisting of symidx is invalid.
+## It includes both: an unexpected format for patching section data and
+## updating the checksum, as well as data validity.
+## Essentially, the expected format is a definitive symbol with a zero offset
+## linked to the section. Valid data consists of a sequence of symbol indices
+## that remain in the symbol table even after stripping.
+
+## In this case, the symbol .gfids$y is not present at all.
+
----------------
e-kud wrote:
Done
https://github.com/llvm/llvm-project/pull/153322
More information about the llvm-commits
mailing list