diff options
Diffstat (limited to 'lldb/source/API')
-rw-r--r-- | lldb/source/API/SBValue.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lldb/source/API/SBValue.cpp b/lldb/source/API/SBValue.cpp index 7f0cfc2c93d..ac818234389 100644 --- a/lldb/source/API/SBValue.cpp +++ b/lldb/source/API/SBValue.cpp @@ -138,6 +138,14 @@ SBValue::GetValue (const SBFrame &frame) return value_string; } +ValueType +SBValue::GetValueType () +{ + if (m_opaque_sp) + return m_opaque_sp->GetValueType(); + return eValueTypeInvalid; +} + const char * SBValue::GetObjectDescription (const SBFrame &frame) { |