[llvm] a13dce1 - Fix build. NFC.
Michael Liao via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 21 12:00:01 PDT 2020
Author: Michael Liao
Date: 2020-04-21T14:59:45-04:00
New Revision: a13dce1d90cba6c55252dee0a2600eab37ffbc44
URL: https://github.com/llvm/llvm-project/commit/a13dce1d90cba6c55252dee0a2600eab37ffbc44
DIFF: https://github.com/llvm/llvm-project/commit/a13dce1d90cba6c55252dee0a2600eab37ffbc44.diff
LOG: Fix build. NFC.
Added:
Modified:
llvm/lib/DebugInfo/PDB/LLVMBuild.txt
llvm/lib/DebugInfo/PDB/Native/NativeSession.cpp
Removed:
################################################################################
diff --git a/llvm/lib/DebugInfo/PDB/LLVMBuild.txt b/llvm/lib/DebugInfo/PDB/LLVMBuild.txt
index 4bd42a2c1590..6cebd787054e 100644
--- a/llvm/lib/DebugInfo/PDB/LLVMBuild.txt
+++ b/llvm/lib/DebugInfo/PDB/LLVMBuild.txt
@@ -18,5 +18,5 @@
type = Library
name = DebugInfoPDB
parent = DebugInfo
-required_libraries = Object Support DebugInfoCodeView DebugInfoMSF
+required_libraries = BinaryFormat Object Support DebugInfoCodeView DebugInfoMSF
diff --git a/llvm/lib/DebugInfo/PDB/Native/NativeSession.cpp b/llvm/lib/DebugInfo/PDB/Native/NativeSession.cpp
index 68d386135441..73a28ff37760 100644
--- a/llvm/lib/DebugInfo/PDB/Native/NativeSession.cpp
+++ b/llvm/lib/DebugInfo/PDB/Native/NativeSession.cpp
@@ -104,7 +104,7 @@ loadPdbFile(StringRef PdbPath, std::unique_ptr<BumpPtrAllocator> &Allocator) {
if (auto EC = File->parseStreamData())
return std::move(EC);
- return File;
+ return std::move(File);
}
Error NativeSession::createFromPdbPath(StringRef PdbPath,
More information about the llvm-commits
mailing list