[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:30:58 PDT 2024


================
@@ -526,6 +535,7 @@ Symbol *SymbolTable::addUndefinedFunction(StringRef name,
     printTraceSymbolUndefined(name, file);
----------------
sbc100 wrote:

Ah yes in that case you potentially see a trace entry for the "name" and the "import name".  Not that those are normally different but if you happened to trace both then I would expect two trace entires in the log yes.

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


More information about the llvm-commits mailing list