[lld] [lld][WebAssembly] Reset context object after each link (PR #78770)

Steven Johnson via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 19 12:05:00 PST 2024


steven-johnson wrote:

> I wonder if we can replace these elaborate `reset()` methods with a placement new in the static data location? Would seems less error prone.

Or just `ctx = Ctx();` ?

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


More information about the llvm-commits mailing list