Fix LLDB after removal of PDB_ErrorCode

llvm-svn: 268802
This commit is contained in:
Zachary Turner 2016-05-06 21:35:47 +00:00
parent 57175711eb
commit 50c58c0d01
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ SymbolFilePDB::CalculateAbilities()
// Lazily load and match the PDB file, but only do this once.
std::string exePath = m_obj_file->GetFileSpec().GetPath();
auto error = loadDataForEXE(PDB_ReaderType::DIA, llvm::StringRef(exePath), m_session_up);
if (error != PDB_ErrorCode::Success)
if (error)
return 0;
}
return CompileUnits | LineTables;