forked from OSchip/llvm-project
Add SBValue::GetID() member method call API.
llvm-svn: 134636
This commit is contained in:
parent
2f2d9cbb22
commit
b0b8be755b
lldb
|
@ -44,6 +44,9 @@ public:
|
||||||
SBError
|
SBError
|
||||||
GetError();
|
GetError();
|
||||||
|
|
||||||
|
lldb::user_id_t
|
||||||
|
GetID ();
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
GetName();
|
GetName();
|
||||||
|
|
||||||
|
|
|
@ -82,6 +82,14 @@ SBValue::GetError()
|
||||||
return sb_error;
|
return sb_error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
user_id_t
|
||||||
|
SBValue::GetID()
|
||||||
|
{
|
||||||
|
if (m_opaque_sp)
|
||||||
|
return m_opaque_sp->GetID();
|
||||||
|
return LLDB_INVALID_UID;
|
||||||
|
}
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
SBValue::GetName()
|
SBValue::GetName()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue