[Lldb-commits] [lldb] [lldb] refactor highlighting function for image lookup command (PR #76112)
    David Spickett via lldb-commits 
    lldb-commits at lists.llvm.org
       
    Fri Jan 19 06:49:42 PST 2024
    
    
  
=?utf-8?q?José?= L. Junior <jljuniorpb at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/76112 at github.com>
================
@@ -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);
----------------
DavidSpickett wrote:
Now you're constructing these settings objects this has been addressed.
https://github.com/llvm/llvm-project/pull/76112
    
    
More information about the lldb-commits
mailing list