[Lldb-commits] [lldb] Colorize output when searching for symbols in lldb (PR #69422)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Tue Nov 14 01:34:18 PST 2023
================
@@ -95,7 +97,8 @@ bool SymbolContext::DumpStopContext(Stream *s, ExecutionContextScope *exe_scope,
if (!name)
name = function->GetName();
if (name)
- name.Dump(s);
+ pattern ? Address::DumpName(s, name.GetStringRef(), pattern)
+ : name.Dump(s);
----------------
DavidSpickett wrote:
But cool use of the `?` regardless :)
https://github.com/llvm/llvm-project/pull/69422
More information about the lldb-commits
mailing list