================
@@ -688,17 +688,25 @@ void dyld_shared_cache_for_each_image(dyld_shared_cache_t 
cache,
     return m_caches[m_host_uuid];
   }
 
+  bool GetImages(llvm::StringMap<SharedCacheImageInfo> **images, UUID &uuid) {
+    if (m_caches.find(uuid) != m_caches.end()) {
+      *images = &m_caches[uuid];
+      return true;
+    }
+    return false;
----------------
JDevlieghere wrote:

Should this set `images = nullptr`? 

https://github.com/llvm/llvm-project/pull/180323
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to