[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:22:28 PST 2024


================
@@ -1609,6 +1612,11 @@ static uint32_t LookupSymbolInModule(CommandInterpreter &interpreter,
   }
 
   if (num_matches > 0) {
+    llvm::StringRef ansi_prefix =
+        interpreter.GetDebugger().GetRegexMatchAnsiPrefix();
+    llvm::StringRef ansi_suffix =
+        interpreter.GetDebugger().GetRegexMatchAnsiSuffix();
+    Information info(name, ansi_prefix, ansi_suffix);
----------------
junior-jl wrote:

I'm unsure if the modification made in last commit addresses this correctly.

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


More information about the lldb-commits mailing list