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

José Lira Junior via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 29 04:56:54 PST 2023


================
@@ -1618,12 +1621,15 @@ static uint32_t LookupSymbolInModule(CommandInterpreter &interpreter,
         if (symbol->ValueIsAddress()) {
           DumpAddress(
               interpreter.GetExecutionContext().GetBestExecutionContextScope(),
-              symbol->GetAddressRef(), verbose, all_ranges, strm);
+              symbol->GetAddressRef(), verbose, all_ranges, strm,
+              use_color ? name : nullptr);
----------------
junior-jl wrote:

Hi, David. I have a question about this one: Why wouldn't we want to colorize the symbols when searching without regex option?


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


More information about the lldb-commits mailing list