mirror of
https://github.com/intel/llvm.git
synced 2026-01-14 11:57:39 +08:00
Add the SBWatchpoint::GetError back, we have clients who use it.
llvm-svn: 158092
This commit is contained in:
@@ -90,6 +90,18 @@ SBWatchpoint::IsValid() const
|
||||
return m_opaque_sp;
|
||||
}
|
||||
|
||||
SBError
|
||||
SBWatchpoint::GetError ()
|
||||
{
|
||||
SBError sb_error;
|
||||
lldb::WatchpointSP watchpoint_sp(GetSP());
|
||||
if (watchpoint_sp)
|
||||
{
|
||||
sb_error.SetError(watchpoint_sp->GetError());
|
||||
}
|
||||
return sb_error;
|
||||
}
|
||||
|
||||
int32_t
|
||||
SBWatchpoint::GetHardwareIndex ()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user