[Lldb-commits] [lldb] Colorize output when searching for symbols in lldb (PR #69422)

José Lira Junior via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 16 11:35:45 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);
----------------
junior-jl wrote:

When I opened this suggestion, it only showed the changes from the first commit, not "changes from all commits", maybe that's the reason it was not corrected yet. I don't know why that happened.

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


More information about the lldb-commits mailing list