[Lldb-commits] [lldb] Colorize output when searching for symbols in lldb (PR #69422)

José Lira Junior via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 16 11:32:54 PST 2023


================
@@ -70,6 +72,32 @@ size_t Stream::PutCString(llvm::StringRef str) {
   return bytes_written;
 }
 
+void Stream::PutCStringColorHighlighted(llvm::StringRef text,
+                                        const char *pattern) {
+  if (!pattern) {
+    PutCString(text.data());
----------------
junior-jl wrote:

Done! Thank you, I did not realize that.

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


More information about the lldb-commits mailing list