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

Augusto Noronha via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 12 10:01:38 PDT 2024


================
@@ -785,6 +785,10 @@ IRExecutionUnit::FindInSymbols(const std::vector<ConstString> &names,
     return LLDB_INVALID_ADDRESS;
   }
 
+  ModuleList images = target->GetImages();
----------------
augusto2112 wrote:

Check if `target` is null before accessing it.

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


More information about the lldb-commits mailing list