commit | 968958c31c42224cfd5eb4ba0cf6fe0157ab375c | [log] [tgz] |
---|---|---|
author | Johnny Chen <johnny.chen@apple.com> | Thu Jul 07 20:46:23 2011 +0000 |
committer | Johnny Chen <johnny.chen@apple.com> | Thu Jul 07 20:46:23 2011 +0000 |
tree | 9ef6ad8f903ba907d61a1079a636e93181b7dccc | |
parent | edeaef152b894b3bb50490882bc1ff6967be4a75 [diff] [blame] |
Add SBValue::GetID() member method call API. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134636 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/API/SBValue.cpp b/source/API/SBValue.cpp index c6a26d9..e51919c 100644 --- a/source/API/SBValue.cpp +++ b/source/API/SBValue.cpp
@@ -82,6 +82,14 @@ return sb_error; } +user_id_t +SBValue::GetID() +{ + if (m_opaque_sp) + return m_opaque_sp->GetID(); + return LLDB_INVALID_UID; +} + const char * SBValue::GetName() {