[Lldb-commits] [lldb] [lldb] colorize symbols in image lookup with a regex pattern (PR #69422)
José Lira Junior via lldb-commits
lldb-commits at lists.llvm.org
Thu Dec 7 06:56:51 PST 2023
junior-jl wrote:
> You could do:
s->PutCStringColorHighlighted(symbol->GetName().GetStringRef(), pattern,
target_sp ? target_sp->GetDebugger().GetRegexMatchAnsiPrefix() : "",
target_sp ? target_sp->GetDebugger().GetRegexMatchAnsiSuffix() : "");
I really thought about doing this, but it looked too long, so I gave up, good to know it's ok.
> Leave it as is. Sounds like you will end up refactoring it anyway.
Nice! Thank you for all the help so far!
https://github.com/llvm/llvm-project/pull/69422
More information about the lldb-commits
mailing list