diff options
Diffstat (limited to 'include/llvm/DebugInfo/PDB/Native/TpiStream.h')
-rw-r--r-- | include/llvm/DebugInfo/PDB/Native/TpiStream.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm/DebugInfo/PDB/Native/TpiStream.h b/include/llvm/DebugInfo/PDB/Native/TpiStream.h index c5549983ed43..17fba9991c2e 100644 --- a/include/llvm/DebugInfo/PDB/Native/TpiStream.h +++ b/include/llvm/DebugInfo/PDB/Native/TpiStream.h @@ -21,6 +21,9 @@ #include "llvm/Support/Error.h" namespace llvm { +namespace codeview { +class LazyRandomTypeCollection; +} namespace msf { class MappedBlockStream; } @@ -53,12 +56,16 @@ public: codeview::CVTypeRange types(bool *HadError) const; const codeview::CVTypeArray &typeArray() const { return TypeRecords; } + codeview::LazyRandomTypeCollection &typeCollection() { return *Types; } + Error commit(); private: const PDBFile &Pdb; std::unique_ptr<msf::MappedBlockStream> Stream; + std::unique_ptr<codeview::LazyRandomTypeCollection> Types; + codeview::CVTypeArray TypeRecords; std::unique_ptr<BinaryStream> HashStream; |