wasm-linker: ensure custom sections are parsed

Not all custom sections are represented by a symbol, which means the
section will not be parsed by the lazy parsing and therefore get garbage-
collected. This is problematic as it may contain debug information that
should not be garbage-collected. To resolve this, we manually create
local symbols for those sections and also ensure they do not get garbage-
collected.
2b3e6f680cLuuk de Gram committed on 1/12/2024, 1:57:32 PMparent63de8a5
2 files changedLine totals unavailable