[lld] [wasm-ld] Refactor WasmSym from static globals to per-link context (PR #134970)
Anutosh Bhat via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 9 12:51:39 PDT 2025
================
@@ -32,6 +32,7 @@ class InputTable;
class InputGlobal;
class InputFunction;
class Symbol;
+struct WasmSym;
----------------
anutosh491 wrote:
Okay I think it was best to maintain some sort of consistency with what ELF was doing.
We were doing the same here with regards to everything except maintaining WasmSym in config.h (just like elf does with maintaining ElfSym in config.h)
cc @sbc100 I have made the change as per this commit https://github.com/llvm/llvm-project/commit/03be619d9434de0a9616660a2119675635239a5b#diff-ba5e9bcbcabe54e23f58f9466afb49d9720373eb11b9b3a42ddc2d653b035594
which basically does the exact same change for ELF
https://github.com/llvm/llvm-project/pull/134970
More information about the llvm-commits
mailing list