summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-05-06 21:35:47 +0000
committerZachary Turner <zturner@google.com>2016-05-06 21:35:47 +0000
commit50c58c0d01c53de21c8fa91ed4489ea13f07d519 (patch)
treecf7d6e44ab3ba9fb01c1b91e2eccb01095c7f6b0 /lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
parent57175711eb3cf565b7f41144ecc907890b357bac (diff)
downloadbcm5719-llvm-50c58c0d01c53de21c8fa91ed4489ea13f07d519.tar.gz
bcm5719-llvm-50c58c0d01c53de21c8fa91ed4489ea13f07d519.zip
Fix LLDB after removal of PDB_ErrorCode
llvm-svn: 268802
Diffstat (limited to 'lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp')
-rw-r--r--lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp b/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
index 472999d758a..4b19b56aa9a 100644
--- a/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
+++ b/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
@@ -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;
OpenPOWER on IntegriCloud