From a4092fcbfb39b4d32a8e152a110d20132779d538 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Fri, 6 Jan 2017 20:14:12 +0000 Subject: Vendor import of lldb trunk r291274: https://llvm.org/svn/llvm-project/lldb/trunk@291274 --- source/Target/StackFrameList.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source/Target/StackFrameList.cpp') diff --git a/source/Target/StackFrameList.cpp b/source/Target/StackFrameList.cpp index 872e153ddb06..146b2b05dbd7 100644 --- a/source/Target/StackFrameList.cpp +++ b/source/Target/StackFrameList.cpp @@ -541,8 +541,7 @@ StackFrameSP StackFrameList::GetFrameAtIndex(uint32_t idx) { if (m_frames.empty()) { // Why do we have a thread with zero frames, that should not ever // happen... - if (m_thread.IsValid()) - assert("A valid thread has no frames."); + assert(!m_thread.IsValid() && "A valid thread has no frames."); } else { ResetCurrentInlinedDepth(); frame_sp = m_frames[original_idx]; -- cgit v1.2.3