1 //===- SymbolStream.cpp - PDB Symbol Stream Access --------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_DEBUGINFO_PDB_RAW_PDBSYMBOLSTREAM_H
11 #define LLVM_DEBUGINFO_PDB_RAW_PDBSYMBOLSTREAM_H
13 #include "llvm/DebugInfo/CodeView/SymbolRecord.h"
15 #include "llvm/Support/Error.h"
19 class MappedBlockStream;
26 SymbolStream(std::unique_ptr<msf::MappedBlockStream> Stream);
30 const codeview::CVSymbolArray &getSymbolArray() const {
34 iterator_range<codeview::CVSymbolArray::Iterator>
35 getSymbols(bool *HadError) const;
40 codeview::CVSymbolArray SymbolRecords;
41 std::unique_ptr<msf::MappedBlockStream> Stream;