[Lldb-commits] [lldb] [lldb] enhance colorize process for image lookup command (PR #76112)
José Lira Junior via lldb-commits
lldb-commits at lists.llvm.org
Thu Jan 18 15:23:35 PST 2024
================
@@ -262,14 +263,12 @@ void Symbol::GetDescription(Stream *s, lldb::DescriptionLevel level,
}
if (ConstString demangled = m_mangled.GetDemangledName()) {
s->PutCString(", name=\"");
- s->PutCStringColorHighlighted(demangled.GetStringRef(), pattern,
- ansi_prefix, ansi_suffix);
+ s->PutCStringColorHighlighted(demangled.GetStringRef(), pattern_info);
s->PutCString("\"");
}
if (ConstString mangled_name = m_mangled.GetMangledName()) {
s->PutCString(", mangled=\"");
- s->PutCStringColorHighlighted(mangled_name.GetStringRef(), pattern,
- ansi_prefix, ansi_suffix);
+ s->PutCStringColorHighlighted(mangled_name.GetStringRef(), pattern_info);
----------------
junior-jl wrote:
Since the struct name changed, should we rename this to something like `highlight_settings` or `color_settings`?
https://github.com/llvm/llvm-project/pull/76112
More information about the lldb-commits
mailing list