diff options
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp | 9 | 
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp b/llvm/lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp index 4186f2eb6ba..1ddad45df34 100644 --- a/llvm/lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp +++ b/llvm/lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp @@ -30,6 +30,15 @@ ModuleDebugStreamRef::ModuleDebugStreamRef(      std::unique_ptr<MappedBlockStream> Stream)      : Mod(Module), Stream(std::move(Stream)) {} +ModuleDebugStreamRef::ModuleDebugStreamRef(ModuleDebugStreamRef &&Other) +    : Mod(Other.Mod), Signature(Other.Signature), +      Stream(std::move(Other.Stream)), +      SymbolsSubstream(std::move(Other.SymbolsSubstream)), +      C11LinesSubstream(std::move(Other.C11LinesSubstream)), +      C13LinesSubstream(std::move(Other.C13LinesSubstream)), +      GlobalRefsSubstream(std::move(Other.GlobalRefsSubstream)), +      Subsections(std::move(Other.Subsections)) {} +  ModuleDebugStreamRef::~ModuleDebugStreamRef() = default;  Error ModuleDebugStreamRef::reload() {  | 

