summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/DebugInfo/PDB/Raw/InfoStream.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/DebugInfo/PDB/Raw/InfoStream.h')
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/Raw/InfoStream.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/include/llvm/DebugInfo/PDB/Raw/InfoStream.h b/llvm/include/llvm/DebugInfo/PDB/Raw/InfoStream.h
index 39ac2796595..01b0b16e7f8 100644
--- a/llvm/include/llvm/DebugInfo/PDB/Raw/InfoStream.h
+++ b/llvm/include/llvm/DebugInfo/PDB/Raw/InfoStream.h
@@ -24,7 +24,7 @@ namespace pdb {
class PDBFile;
class InfoStream {
public:
- InfoStream(PDBFile &File);
+ InfoStream(const PDBFile &File);
Error reload();
@@ -36,10 +36,7 @@ public:
uint32_t getNamedStreamIndex(llvm::StringRef Name) const;
iterator_range<StringMapConstIterator<uint32_t>> named_streams() const;
- PDBFile &getFile() { return Pdb; }
-
private:
- PDBFile &Pdb;
MappedBlockStream Stream;
// PDB file format version. We only support VC70. See the enumeration
OpenPOWER on IntegriCloud