diff options
| author | Pavel Labath <labath@google.com> | 2020-02-05 15:43:55 -0800 |
|---|---|---|
| committer | Pavel Labath <labath@google.com> | 2020-02-05 15:51:38 -0800 |
| commit | 98b273c893b2c218c56fe5c03cbb6f082cce008c (patch) | |
| tree | 8dfe4fcfbb0e724d4674ff1766c5f44e47e6603f /lldb/source/API/SBThread.cpp | |
| parent | 5f1e45fd6764f9e31de1c9d6d7581645eea0c696 (diff) | |
Revert "[lldb/Target] Add Assert StackFrame Recognizer"
This reverts commit 2b7f32892b76cdfbe075300a5bf4a52e1b674bc7 because of test
failures due to dangling pointers.
Diffstat (limited to 'lldb/source/API/SBThread.cpp')
| -rw-r--r-- | lldb/source/API/SBThread.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/API/SBThread.cpp b/lldb/source/API/SBThread.cpp index 049a0b285e16..6fe4f66763cb 100644 --- a/lldb/source/API/SBThread.cpp +++ b/lldb/source/API/SBThread.cpp @@ -325,8 +325,7 @@ size_t SBThread::GetStopDescription(char *dst, size_t dst_len) { StopInfoSP stop_info_sp = exe_ctx.GetThreadPtr()->GetStopInfo(); if (stop_info_sp) { - const char *stop_desc = - exe_ctx.GetThreadPtr()->GetStopDescription().c_str(); + const char *stop_desc = stop_info_sp->GetDescription(); if (stop_desc) { if (dst) return ::snprintf(dst, dst_len, "%s", stop_desc); |
