1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

Drop error when trying to fallback from PDB to DWARF.

llvm-svn: 268813
This commit is contained in:
Zachary Turner 2016-05-06 22:29:34 +00:00
parent 9040306a47
commit 22c9b29e07

View File

@ -375,6 +375,10 @@ LLVMSymbolizer::getOrCreateModuleInfo(const std::string &ModuleName) {
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)