[Mlir-commits] [mlir] [mlir] Allow accessing DialectResourceBlobManager::blobMap (PR #142352)
Mehdi Amini
llvmlistbot at llvm.org
Fri Jun 20 07:23:30 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.
+ void access(llvm::function_ref<void(const llvm::StringMap<BlobEntry> &)>
----------------
joker-eph wrote:
```suggestion
void getBlobMap(llvm::function_ref<void(const llvm::StringMap<BlobEntry> &)>
```
"access" is a bit unusual, ultimately this is an accessor every if you're using a callback for purposes of mutex handling
https://github.com/llvm/llvm-project/pull/142352
More information about the Mlir-commits
mailing list