[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:24:40 PDT 2025


================
@@ -32,6 +32,7 @@ class InputTable;
 class InputGlobal;
 class InputFunction;
 class Symbol;
+struct WasmSym;
----------------
anutosh491 wrote:

Hopefully we're correct in keeping WasmSym in symbols.h and just make use of it in Config.h (unlike the ELF case where even the struct is made in ELF/Config.h) 

I guess that might not be required here ?

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


More information about the llvm-commits mailing list