diff options
author | Greg Clayton <gclayton@apple.com> | 2011-05-30 00:49:24 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2011-05-30 00:49:24 +0000 |
commit | 007d5be6533923ecc61742c83f6c7c7c27d4f18c (patch) | |
tree | 37684e6707727c4e3ac76aa7dedd5b51e27efeb7 /lldb/source/Core/ValueObjectDynamicValue.cpp | |
parent | 5d2fbfed4d4e1fac8a1490ab913acd9a03925fa5 (diff) | |
download | bcm5719-llvm-007d5be6533923ecc61742c83f6c7c7c27d4f18c.tar.gz bcm5719-llvm-007d5be6533923ecc61742c83f6c7c7c27d4f18c.zip |
lldb-59.
llvm-svn: 132304
Diffstat (limited to 'lldb/source/Core/ValueObjectDynamicValue.cpp')
-rw-r--r-- | lldb/source/Core/ValueObjectDynamicValue.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Core/ValueObjectDynamicValue.cpp b/lldb/source/Core/ValueObjectDynamicValue.cpp index ee50d45433f..a8d48891ab3 100644 --- a/lldb/source/Core/ValueObjectDynamicValue.cpp +++ b/lldb/source/Core/ValueObjectDynamicValue.cpp @@ -120,6 +120,9 @@ ValueObjectDynamicValue::UpdateValue () if (!m_parent->UpdateValueIfNeeded()) { + // The dynamic value failed to get an error, pass the error along + if (m_error.Success() && m_parent->GetError().Fail()) + m_error = m_parent->GetError(); return false; } |