OSDN Git Service

[codeview] Move StreamInterface and StreamReader to libcodeview.
authorZachary Turner <zturner@google.com>
Wed, 25 May 2016 20:37:03 +0000 (20:37 +0000)
committerZachary Turner <zturner@google.com>
Wed, 25 May 2016 20:37:03 +0000 (20:37 +0000)
commit213d3d3c81cc4235b66acd7b5700e4f0145df006
tree4b646aeefa8af69317dfa68fa87fa60ae5b7bf05
parentc863f71a629aff8b016bcb4eda3ab97cce5b44fa
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270751 91177308-0d34-0410-b5e6-96231b3b80d8
26 files changed:
include/llvm/DebugInfo/CodeView/ByteStream.h [moved from include/llvm/DebugInfo/PDB/Raw/ByteStream.h with 86% similarity]
include/llvm/DebugInfo/CodeView/CodeViewError.h [new file with mode: 0644]
include/llvm/DebugInfo/CodeView/StreamInterface.h [moved from include/llvm/DebugInfo/PDB/Raw/StreamInterface.h with 74% similarity]
include/llvm/DebugInfo/CodeView/StreamReader.h [moved from include/llvm/DebugInfo/PDB/Raw/StreamReader.h with 76% similarity]
include/llvm/DebugInfo/PDB/Raw/DbiStream.h
include/llvm/DebugInfo/PDB/Raw/MappedBlockStream.h
include/llvm/DebugInfo/PDB/Raw/ModStream.h
include/llvm/DebugInfo/PDB/Raw/NameHashTable.h
include/llvm/DebugInfo/PDB/Raw/NameMap.h
include/llvm/DebugInfo/PDB/Raw/PublicsStream.h
include/llvm/DebugInfo/PDB/Raw/SymbolStream.h
include/llvm/DebugInfo/PDB/Raw/TpiStream.h
lib/DebugInfo/CodeView/ByteStream.cpp [moved from lib/DebugInfo/PDB/Raw/ByteStream.cpp with 84% similarity]
lib/DebugInfo/CodeView/CMakeLists.txt
lib/DebugInfo/CodeView/CodeViewError.cpp [new file with mode: 0644]
lib/DebugInfo/CodeView/StreamReader.cpp [moved from lib/DebugInfo/PDB/Raw/StreamReader.cpp with 90% similarity]
lib/DebugInfo/PDB/CMakeLists.txt
lib/DebugInfo/PDB/Raw/DbiStream.cpp
lib/DebugInfo/PDB/Raw/InfoStream.cpp
lib/DebugInfo/PDB/Raw/ModStream.cpp
lib/DebugInfo/PDB/Raw/NameHashTable.cpp
lib/DebugInfo/PDB/Raw/NameMap.cpp
lib/DebugInfo/PDB/Raw/PublicsStream.cpp
lib/DebugInfo/PDB/Raw/SymbolStream.cpp
lib/DebugInfo/PDB/Raw/TpiStream.cpp
tools/llvm-pdbdump/llvm-pdbdump.cpp