[lld] [lld][WebAssembly] Allow `--trace-symbol` to work with symbols with custom import names (PR #96119)

Sam Clegg via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 20 17:33:47 PDT 2024


sbc100 wrote:


> > * `traceImport` seems to be added to `addUndefined[Function|Global|Tag]` but not `addUndefinedData`. Does `addUndefinedData` not need the tracing?
> 
> No that now not intended it should used anywhere an importName can exist. I'll see if I overlooked that.

I remember now, we don't see this for data symbols because data symbols cannot have `importName` set.  See how there is no `importName` argument to the `addUndefinedData` method.



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


More information about the llvm-commits mailing list