search for: mappedblockstream

Displaying 2 results from an estimated 2 matches for "mappedblockstream".

2017 Feb 19
5
RFC: Adding llvm::ThinStream
...ided that was not present in existing abstractions (i.e. writeability). I have several implementations of this class and some abstractions for working with them. *ByteStream* and *MutableByteStream* provide a concrete implementatino where the backing store is an `ArrayRef` or `MutableArrayRef`. *MappedBlockStream* (which is PDB specific) provides an implementation that seeks around a file, piecing together blocks from various locations in a PDB file. When a call to `readBytes` spans a block boundary, it does multiple reads, allocates a contiguous buffer from a `BumpPtrAllocator` and returns a reference to...
2017 Feb 22
2
RFC: Adding llvm::ThinStream
...existing abstractions > (i.e. writeability). > > I have several implementations of this class and some abstractions for > working with them. *ByteStream* and *MutableByteStream* provide a > concrete implementatino where the backing store is an `ArrayRef` or > `MutableArrayRef`. *MappedBlockStream* (which is PDB specific) provides > an implementation that seeks around a file, piecing together blocks from > various locations in a PDB file. When a call to `readBytes` spans a block > boundary, it does multiple reads, allocates a contiguous buffer from a > `BumpPtrAllocator` and ret...