[llvm] [CAS] Add ObjectStore::getStandaloneMemoryBuffer() (PR #215360)

Ben Langmuir via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 12 13:50:31 PDT 2026


================
@@ -371,6 +371,12 @@ class StandaloneDataInMemory {
   OnDiskGraphDB::FileBackedData
   getInternalFileBackedObjectData(StringRef RootPath) const;
 
+  /// Map this object's file independently of \a Region, so the result stays
+  /// valid after this object is gone. Returns \c nullptr if it cannot be done.
+  std::unique_ptr<MemoryBuffer>
----------------
benlangmuir wrote:

I may have missed it, but I think this comment is still outstanding.

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


More information about the llvm-commits mailing list