summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2013-05-20 22:49:13 +0000
committerEnrico Granata <egranata@apple.com>2013-05-20 22:49:13 +0000
commit0519e142b82b7e67d5072d0f16bcd5ae7ef80847 (patch)
treea2a328a0dc0de4208f10d57892a18a40d4e61cee
parentcaa84cbc015d11bef3a07b9acb3b3ada41ed3cb4 (diff)
downloadbcm5719-llvm-0519e142b82b7e67d5072d0f16bcd5ae7ef80847.tar.gz
bcm5719-llvm-0519e142b82b7e67d5072d0f16bcd5ae7ef80847.zip
<rdar://problem/13925626>
Replacing an assertion with an error - at least we won’t crash llvm-svn: 182326
-rw-r--r--lldb/source/Core/ValueObjectVariable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/ValueObjectVariable.cpp b/lldb/source/Core/ValueObjectVariable.cpp
index daff740399e..4b18fb85a66 100644
--- a/lldb/source/Core/ValueObjectVariable.cpp
+++ b/lldb/source/Core/ValueObjectVariable.cpp
@@ -187,7 +187,7 @@ ValueObjectVariable::UpdateValue ()
switch (value_type)
{
default:
- assert(!"Unhandled expression result value kind...");
+ m_error.SetErrorStringWithFormat("Variable %s has an expression result value %d which is currently unhandled",variable->GetName().GetCString(),value_type);
break;
case Value::eValueTypeScalar:
OpenPOWER on IntegriCloud