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

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 3 05:25:34 PDT 2024


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

Nit, maybe call it something like:
```suggestion
  ModuleList non_local_images = target->GetImages();
```
?

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


More information about the lldb-commits mailing list