[lld] [wasm-ld] Refactor WasmSym from static globals to per-link context (PR #134970)

Sam Clegg via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 9 11:58:39 PDT 2025


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

Is this forward declaration needed?  I'd be surprised if `WasmSym sym{};` would work below with only a forward decl.

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


More information about the llvm-commits mailing list