[Lldb-commits] [PATCH] Make SBValue::GetNonSyntheticValue return really that.
Siva Chandra
sivachandra at google.com
Fri Jun 19 15:59:41 PDT 2015
Hi clayborg,
Before this change it was only returning itself instead of the real
non-synthetic value.
http://reviews.llvm.org/D10581
Files:
source/API/SBValue.cpp
Index: source/API/SBValue.cpp
===================================================================
--- source/API/SBValue.cpp
+++ source/API/SBValue.cpp
@@ -1073,7 +1073,8 @@
SBValue value_sb;
if (IsValid())
{
- ValueImplSP proxy_sp(new ValueImpl(m_opaque_sp->GetRootSP(),m_opaque_sp->GetUseDynamic(),false));
+ ValueImplSP proxy_sp(
+ new ValueImpl(m_opaque_sp->GetRootSP()->GetNonSyntheticValue(), m_opaque_sp->GetUseDynamic(), false));
value_sb.SetSP(proxy_sp);
}
return value_sb;
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10581.28055.patch
Type: text/x-patch
Size: 542 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150619/9d9f674f/attachment.bin>
More information about the lldb-commits
mailing list