[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 10:07:58 PDT 2024
================
@@ -526,6 +535,7 @@ Symbol *SymbolTable::addUndefinedFunction(StringRef name,
printTraceSymbolUndefined(name, file);
----------------
sbc100 wrote:
No, `s->traced` depends only on the command line flags and will be true if and only if `--trace-symbol=foo` is passed for a given symbol `foo`. It can be true or false independently of everything else going on here.
I'm not sure what you mean by "and then again". I only see a single call to `printTraceSymbolUndefined` in this function.
https://github.com/llvm/llvm-project/pull/96119
More information about the llvm-commits
mailing list