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

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 23 07:25:42 PDT 2023


================
@@ -1506,13 +1513,39 @@ static bool LookupAddressInModule(CommandInterpreter &interpreter, Stream &strm,
 
     ExecutionContextScope *exe_scope =
         interpreter.GetExecutionContext().GetBestExecutionContextScope();
-    DumpAddress(exe_scope, so_addr, verbose, all_ranges, strm);
+    DumpAddress(exe_scope, so_addr, verbose, all_ranges, strm, nullptr);
----------------
DavidSpickett wrote:

So the point of the default argument is that you don't need to pass a nullptr here. If you don't pass anything, it defaults to nullptr.

This means all existing calls stay the same and only paths where your matching took place would pass an argument here.

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


More information about the lldb-commits mailing list