[llvm] [WebAssembly] Handle symbols in `.init_array` sections (PR #119127)
Sam Clegg via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 9 08:37:03 PST 2024
https://github.com/sbc100 approved this pull request.
Actually, having asked you to add this code, I am now wondering if it is needed after all.
Since the linker runs with `--gc-sections` enabled by default I think the presence of these unreferenced sections in the object file should be harmless. However keeping the object files free of unused sections also makes some sense. I'll let you decided if you want to keep this code.
lgtm either way.
https://github.com/llvm/llvm-project/pull/119127
More information about the llvm-commits
mailing list