================
@@ -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;
+ }
+
+ // Given the UUID and filepath to a shared cache on the local debug host
+ // system, open it and add all of the binary images to m_caches.
----------------
JDevlieghere wrote:
There can be Doxygen comments.
```suggestion
/// Given the UUID and filepath to a shared cache on the local debug host
/// system, open it and add all of the binary images to m_caches.
```
https://github.com/llvm/llvm-project/pull/180323
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits