diff options
author | Zachary Turner <zturner@google.com> | 2017-06-15 23:12:41 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2017-06-15 23:12:41 +0000 |
commit | 0e327d03607674891566b52e7c31c2eaa579edb8 (patch) | |
tree | ea2dd7cc1c814e7feb6ae3756a31d2fee1500b3d /llvm/lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp | |
parent | 2e17366a57ffe0d3ec884097eb340190919fa512 (diff) | |
download | bcm5719-llvm-0e327d03607674891566b52e7c31c2eaa579edb8.tar.gz bcm5719-llvm-0e327d03607674891566b52e7c31c2eaa579edb8.zip |
[llvm-pdbutil] Add back support for dumping file checksums.
When dumping module source files, also dump checksums.
llvm-svn: 305526
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp')
-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() { |