git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267571
91177308-0d34-0410-b5e6-
96231b3b80d8
class PDBInfoStream {
public:
- PDBInfoStream(const PDBFile &File);
+ PDBInfoStream(PDBFile &File);
std::error_code reload();
uint32_t getNamedStreamIndex(llvm::StringRef Name) const;
+ PDBFile &getFile() { return Pdb; }
+
private:
+ PDBFile &Pdb;
PDBStream Stream1;
- const PDBFile &Pdb;
// PDB file format version. We only support VC70. See the enumeration
// `PdbRaw_ImplVer` for the other possible values.
using namespace llvm;
-PDBInfoStream::PDBInfoStream(const PDBFile &File)
- : Pdb(File), Stream1(1, File) {}
+PDBInfoStream::PDBInfoStream(PDBFile &File) : Pdb(File), Stream1(1, File) {}
std::error_code PDBInfoStream::reload() {
Stream1.setOffset(0);