diff options
author | Zachary Turner <zturner@google.com> | 2016-06-10 05:10:19 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2016-06-10 05:10:19 +0000 |
commit | b84faa8baa8276da1ea3fb7f8c61d98439729c14 (patch) | |
tree | 7be2c547b9012da55c03275138bb5ccea51c98dc /lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespaceLookup.py | |
parent | 5acb4ac6d7989e5f59dd6bc035cc1110b2c830dd (diff) | |
download | bcm5719-llvm-b84faa8baa8276da1ea3fb7f8c61d98439729c14.tar.gz bcm5719-llvm-b84faa8baa8276da1ea3fb7f8c61d98439729c14.zip |
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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespaceLookup.py')
0 files changed, 0 insertions, 0 deletions