diff options
author | Jim Ingham <jingham@apple.com> | 2013-05-15 18:27:08 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2013-05-15 18:27:08 +0000 |
commit | 5c42d8a87ca7e3744c42926092444994595a688e (patch) | |
tree | 57817946defe1e672cc7923a01d220831ce13bcf /lldb/source/Expression/ClangExpressionParser.cpp | |
parent | 0f2a6fe613a6b5f196e84412baa1251a0b5e4ff0 (diff) | |
download | bcm5719-llvm-5c42d8a87ca7e3744c42926092444994595a688e.tar.gz bcm5719-llvm-5c42d8a87ca7e3744c42926092444994595a688e.zip |
Fixed a few obvious errors pointed out by the static analyzer.
llvm-svn: 181911
Diffstat (limited to 'lldb/source/Expression/ClangExpressionParser.cpp')
-rw-r--r-- | lldb/source/Expression/ClangExpressionParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Expression/ClangExpressionParser.cpp b/lldb/source/Expression/ClangExpressionParser.cpp index 431900fbb28..765350ca989 100644 --- a/lldb/source/Expression/ClangExpressionParser.cpp +++ b/lldb/source/Expression/ClangExpressionParser.cpp @@ -550,7 +550,7 @@ ClangExpressionParser::PrepareForExecution (lldb::addr_t &func_addr, if (execution_policy == eExecutionPolicyAlways || !can_interpret) { - if (!process->GetDynamicCheckers() && m_expr.NeedsValidation()) + if (m_expr.NeedsValidation() && (process && (!process->GetDynamicCheckers()))) { DynamicCheckerFunctions *dynamic_checkers = new DynamicCheckerFunctions(); |