mirror of
https://github.com/intel/llvm.git
synced 2026-01-15 04:17:17 +08:00
Revert "[lldb/Target] Add Assert StackFrame Recognizer"
This reverts commit 2b7f32892b because of test
failures due to dangling pointers.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user