[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 03:42:52 PDT 2025
    
    
  
anutosh491 wrote:
If we want to go the much simpler route where we don't introduce anything in ctx, we can probably just reset the existing static globals in WasmSym to nullptr before each link. Something like this 
https://github.com/anutosh491/llvm-project/pull/1/files (made the changes in my local fork as an alternative)
https://github.com/llvm/llvm-project/pull/134970
    
    
More information about the llvm-commits
mailing list