[Mlir-commits] [mlir] [mlir] Allow accessing DialectResourceBlobManager::blobMap (PR #142352)

Andrei Golubev llvmlistbot at llvm.org
Fri Jun 20 07:39:37 PDT 2025


================
@@ -93,9 +93,14 @@ class DialectResourceBlobManager {
     return HandleT(&entry, dialect);
   }
 
+  /// Provide access to all the registered blobs via a callable. During access
+  /// the blobs are guaranteed to remain unchanged.
----------------
andrey-golubev wrote:

hmm, good point. I guess better wording: "the blob map is guaranteed to remain unchanged".

if one is evil, they could hold a `BlobEntry` for a while and modify it, etc, but this is pretty much out of scope of this (any?) API.

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


More information about the Mlir-commits mailing list