[Lldb-commits] [lldb] [lldb] colorize symbols in image lookup (PR #69422)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 23 00:25:10 PST 2023


================
@@ -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:

This suggestion got lost along the way and still needs doing, but you'll call `PutCStringColorHighlighted` now.

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


More information about the lldb-commits mailing list