mirror of
https://github.com/intel/llvm.git
synced 2026-01-19 09:31:59 +08:00
Fixes the case where we created a dummy target, deleted it, and then tried to evaluate an expression with no target.
llvm-svn: 157110
This commit is contained in:
@@ -502,7 +502,7 @@ SBTarget::GetBroadcasterClassName ()
|
||||
bool
|
||||
SBTarget::IsValid () const
|
||||
{
|
||||
return m_opaque_sp.get() != NULL;
|
||||
return m_opaque_sp.get() != NULL && m_opaque_sp->IsValid();
|
||||
}
|
||||
|
||||
SBProcess
|
||||
|
||||
Reference in New Issue
Block a user