[Lldb-commits] [lldb] Remove redundant symbol lookups in IRExecutionUnit::FindInSymbols (PR #102835)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 12 22:54:18 PDT 2024


================
@@ -1764,8 +1764,8 @@ lldb::SBSymbolContextList SBTarget::FindFunctions(const char *name,
   function_options.include_inlines = true;
 
   FunctionNameType mask = static_cast<FunctionNameType>(name_type_mask);
-  target_sp->GetImages().FindFunctions(ConstString(name), mask,
-                                       function_options, *sb_sc_list);
+  target_sp->GetImages().FindFunctions(
+      ConstString(name), mask, function_options, SymbolContext(), *sb_sc_list);
----------------
clayborg wrote:

If we use the default parameter as suggested above, all changes in this file go away.

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


More information about the lldb-commits mailing list