================
@@ -163,7 +166,10 @@ bool SymbolContext::DumpStopContext(Stream *s,
ExecutionContextScope *exe_scope,
dumped_something = true;
if (symbol->GetType() == eSymbolTypeTrampoline)
s->PutCString("symbol stub for: ");
- symbol->GetName().Dump(s);
+ if (pattern)
+ Address::DumpName(s, symbol->GetName().GetStringRef(), pattern);
+ else
+ symbol->GetName().Dump(s);
----------------
DavidSpickett wrote:
Same here, I think you can just always call Address::DumpName and it'll take
the fast path if pattern is nullptr.
https://github.com/llvm/llvm-project/pull/69422
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits