diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-06 20:14:12 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-06 20:14:12 +0000 |
commit | a4092fcbfb39b4d32a8e152a110d20132779d538 (patch) | |
tree | 37c84fe56b8ec43e3b08de27d76f53e259ddb0c7 /source/Target/StackFrameList.cpp | |
parent | cce7c2b0d24e364b1907670cf6f843531e5fe052 (diff) | |
download | src-a4092fcbfb39b4d32a8e152a110d20132779d538.tar.gz src-a4092fcbfb39b4d32a8e152a110d20132779d538.zip |
Vendor import of lldb trunk r291274:vendor/lldb/lldb-trunk-r291274
Notes
Notes:
svn path=/vendor/lldb/dist/; revision=311542
svn path=/vendor/lldb/lldb-trunk-r291274/; revision=311543; tag=vendor/lldb/lldb-trunk-r291274
Diffstat (limited to 'source/Target/StackFrameList.cpp')
-rw-r--r-- | source/Target/StackFrameList.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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]; |