21 using namespace llvm::codeview;
22 using namespace llvm::msf;
23 using namespace llvm::pdb;
25 InfoStream::InfoStream(std::unique_ptr<MappedBlockStream> Stream)
26 : Stream(std::move(Stream)) {}
36 "PDB Stream does not contain a header."));
46 "Unsupported PDB stream version.");
54 return NamedStreams.
load(Reader);
iterator_range< StringMapConstIterator< uint32_t > > entries() const
Error load(msf::StreamReader &Stream)
uint32_t getSignature() const
bool tryGetValue(StringRef Name, uint32_t &Value) const
iterator_range< StringMapConstIterator< uint32_t > > named_streams() const
Defines a 128-bit unique identifier.
PDB_UniqueId getGuid() const
PdbRaw_ImplVer getVersion() const
A range adaptor for a pair of iterators.
Error joinErrors(Error E1, Error E2)
Concatenate errors.
Lightweight error class with error context and mandatory checking.
StringRef - Represent a constant reference to a string, i.e.
uint32_t getNamedStreamIndex(llvm::StringRef Name) const
Error readObject(const T *&Dest)