summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBLineEntry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/API/SBLineEntry.cpp')
-rw-r--r--lldb/source/API/SBLineEntry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBLineEntry.cpp b/lldb/source/API/SBLineEntry.cpp
index 3f923e92381..2d4e599c098 100644
--- a/lldb/source/API/SBLineEntry.cpp
+++ b/lldb/source/API/SBLineEntry.cpp
@@ -110,7 +110,7 @@ SBLineEntry::GetEndAddress () const
bool
SBLineEntry::IsValid () const
{
- return m_opaque_ap.get() != NULL;
+ return m_opaque_ap.get() && m_opaque_ap->IsValid();
}
OpenPOWER on IntegriCloud