[lld] [lld][wasm] Clear lazyBitcodeFiles while resetting context (PR #118440)

Anutosh Bhat via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 3 22:26:10 PST 2024


anutosh491 wrote:

Hey @sbc100 @MaskRay 

I just skimmed through this blog post pasted above. I think we could try the following out 

> If lld/wasm constructs Ctx and drops reset, this pitfall will be removed. https://maskray.me/blog/2024-11-17-removing-global-state-from-lld Eliminating the global ctx variable

Let me know if I have the green flag from your side and I'll try to address this on a separate branch.

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


More information about the llvm-commits mailing list