diff options
| author | Zachary Turner <zturner@google.com> | 2016-05-25 20:37:03 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2016-05-25 20:37:03 +0000 |
| commit | d5d37dcf8329b7c5774aadc60c4474c8e4a4e55f (patch) | |
| tree | d6b8dde6b19a10110b013544b3288848120add80 /llvm/lib/DebugInfo/PDB/Raw/InfoStream.cpp | |
| parent | 1fe3f1ca50bfc7b1dcc356ee9785bfe3757a8aec (diff) | |
| download | bcm5719-llvm-d5d37dcf8329b7c5774aadc60c4474c8e4a4e55f.tar.gz bcm5719-llvm-d5d37dcf8329b7c5774aadc60c4474c8e4a4e55f.zip | |
[codeview] Move StreamInterface and StreamReader to libcodeview.
We have need to reuse this functionality, including making
additional generic stream types that are smarter about how and
when they copy memory versus referencing the original memory.
So all of these structures belong in the common library
rather than being pdb specific.
llvm-svn: 270751
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Raw/InfoStream.cpp')
| -rw-r--r-- | llvm/lib/DebugInfo/PDB/Raw/InfoStream.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/DebugInfo/PDB/Raw/InfoStream.cpp b/llvm/lib/DebugInfo/PDB/Raw/InfoStream.cpp index ccc4a5e6c9b..e7c8a831c73 100644 --- a/llvm/lib/DebugInfo/PDB/Raw/InfoStream.cpp +++ b/llvm/lib/DebugInfo/PDB/Raw/InfoStream.cpp @@ -10,9 +10,9 @@ #include "llvm/DebugInfo/PDB/Raw/InfoStream.h" #include "llvm/ADT/BitVector.h" #include "llvm/ADT/SmallVector.h" +#include "llvm/DebugInfo/CodeView/StreamReader.h" #include "llvm/DebugInfo/PDB/Raw/RawConstants.h" #include "llvm/DebugInfo/PDB/Raw/RawError.h" -#include "llvm/DebugInfo/PDB/Raw/StreamReader.h" using namespace llvm; using namespace llvm::pdb; @@ -20,7 +20,7 @@ using namespace llvm::pdb; InfoStream::InfoStream(PDBFile &File) : Pdb(File), Stream(StreamPDB, File) {} Error InfoStream::reload() { - StreamReader Reader(Stream); + codeview::StreamReader Reader(Stream); struct Header { support::ulittle32_t Version; |

