summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2017-06-15 23:12:41 +0000
committerZachary Turner <zturner@google.com>2017-06-15 23:12:41 +0000
commit0e327d03607674891566b52e7c31c2eaa579edb8 (patch)
treeea2dd7cc1c814e7feb6ae3756a31d2fee1500b3d /llvm/lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp
parent2e17366a57ffe0d3ec884097eb340190919fa512 (diff)
downloadbcm5719-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.cpp9
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() {
OpenPOWER on IntegriCloud