[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 01:23:08 PDT 2024
================
@@ -526,6 +535,7 @@ Symbol *SymbolTable::addUndefinedFunction(StringRef name,
printTraceSymbolUndefined(name, file);
----------------
aheejin wrote:
We run `printTraceSymbolUndefined` here and possibly again when `wasInserted` is true below. Does this mean `s->traced` and `wasInserted` are never true at the same time?
Would it be clear if we check two conditions at a single place to run this?
https://github.com/llvm/llvm-project/pull/96119
More information about the llvm-commits
mailing list