Displaying 2 results from an estimated 2 matches for "filebufferthinstream".
2017 Feb 19
5
RFC: Adding llvm::ThinStream
...ocks 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 that (subsequent requests for
the same offset return from the cached allocation). There is also
*FileBufferThinStream* which adapts an `llvm::FileOutputBuffer` so you can
write to a file system object. One could easily imagine an implementation
that adapts `llvm::MemoryBuffer` so that you could read and write from
mmap'ed files.
But all of these just allow reading and writing raw bytes. To handle
reading an...
2017 Feb 22
2
RFC: Adding llvm::ThinStream
...cations 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 that (subsequent requests for
> the same offset return from the cached allocation). There is also
> *FileBufferThinStream* which adapts an `llvm::FileOutputBuffer` so you
> can write to a file system object. One could easily imagine an
> implementation that adapts `llvm::MemoryBuffer` so that you could read and
> write from mmap'ed files.
>
> But all of these just allow reading and writing raw byte...