hanchenye-llvm-project/llvm/tools/llvm-pdbdump/fuzzer
Zachary Turner b84faa8baa Make PDBFile take a StreamInterface instead of a MemBuffer.
This is the next step towards being able to write PDBs.
MemoryBuffer is immutable, and StreamInterface is our replacement
which can be any combination of read-only, read-write, or write-only
depending on the particular implementation.

The one place where we were creating a PDBFile (in RawSession) is
updated to subclass ByteStream with a simple adapter that holds
a MemoryBuffer, and initializes the superclass with the buffer's
array, so that all the functionality of ByteStream works
transparently.

llvm-svn: 272370
2016-06-10 05:10:19 +00:00
..
CMakeLists.txt
llvm-pdbdump-fuzzer.cpp Make PDBFile take a StreamInterface instead of a MemBuffer. 2016-06-10 05:10:19 +00:00