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

Heejin Ahn via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 20 17:08:50 PDT 2024


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

This function contains a call to `traceImport` which calls `printTraceSymbolUndefined`. So I guess if `s->traced` and `wasInserted` are both true it can be called twice?

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


More information about the llvm-commits mailing list