[llvm] r268813 - Drop error when trying to fallback from PDB to DWARF.
Zachary Turner via llvm-commits
llvm-commits at lists.llvm.org
Fri May 6 15:29:34 PDT 2016
Author: zturner
Date: Fri May 6 17:29:34 2016
New Revision: 268813
URL: http://llvm.org/viewvc/llvm-project?rev=268813&view=rev
Log:
Drop error when trying to fallback from PDB to DWARF.
Modified:
llvm/trunk/lib/DebugInfo/Symbolize/Symbolize.cpp
Modified: llvm/trunk/lib/DebugInfo/Symbolize/Symbolize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/Symbolize/Symbolize.cpp?rev=268813&r1=268812&r2=268813&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/Symbolize/Symbolize.cpp (original)
+++ llvm/trunk/lib/DebugInfo/Symbolize/Symbolize.cpp Fri May 6 17:29:34 2016
@@ -375,6 +375,10 @@ LLVMSymbolizer::getOrCreateModuleInfo(co
PDB_ReaderType::DIA, Objects.first->getFileName(), Session);
if (!Error) {
Context.reset(new PDBContext(*CoffObject, std::move(Session)));
+ } else {
+ // Drop error
+ handleAllErrors(std::move(Error),
+ [](const ErrorInfoBase &) { return Error::success(); });
}
}
if (!Context)
More information about the llvm-commits
mailing list