From 0e327d03607674891566b52e7c31c2eaa579edb8 Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Thu, 15 Jun 2017 23:12:41 +0000 Subject: [llvm-pdbutil] Add back support for dumping file checksums. When dumping module source files, also dump checksums. llvm-svn: 305526 --- llvm/lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'llvm/lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp') diff --git a/llvm/lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp b/llvm/lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp index 4186f2e..1ddad45 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 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() { -- cgit v1.1