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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/DebugInfo/PDB/Raw/InfoStream.h b/llvm/include/llvm/DebugInfo/PDB/Raw/InfoStream.h
index 01b0b16e7f8..f590b4c1cc9 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(const PDBFile &File);
+ InfoStream(std::unique_ptr<MappedBlockStream> Stream);
Error reload();
@@ -37,7 +37,7 @@ public:
iterator_range<StringMapConstIterator<uint32_t>> named_streams() const;
private:
- MappedBlockStream Stream;
+ std::unique_ptr<MappedBlockStream> Stream;
// PDB file format version. We only support VC70. See the enumeration
// `PdbRaw_ImplVer` for the other possible values.
OpenPOWER on IntegriCloud