summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/ClangExpressionDeclMap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Expression/ClangExpressionDeclMap.cpp')
-rw-r--r--lldb/source/Expression/ClangExpressionDeclMap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Expression/ClangExpressionDeclMap.cpp b/lldb/source/Expression/ClangExpressionDeclMap.cpp
index 75387a9d33c..3ca7db108e1 100644
--- a/lldb/source/Expression/ClangExpressionDeclMap.cpp
+++ b/lldb/source/Expression/ClangExpressionDeclMap.cpp
@@ -919,13 +919,13 @@ ClangExpressionDeclMap::DoMaterialize
if (!m_struct_vars->m_struct_laid_out)
{
err.SetErrorString("Structure hasn't been laid out yet");
- return LLDB_INVALID_ADDRESS;
+ return false;
}
if (!exe_ctx.frame)
{
err.SetErrorString("Received null execution frame");
- return LLDB_INVALID_ADDRESS;
+ return false;
}
ClangPersistentVariables &persistent_vars = exe_ctx.target->GetPersistentVariables();
OpenPOWER on IntegriCloud