forked from OSchip/llvm-project
Fix for bug 34510 - Minidump target does not resolve new symbols correctly
Even though the content of the minidump does not change in a debugging session, frames can't be indiscriminately be cached since modules and symbols can be explicitly added after the minidump is loaded. The fix is simple, just let the base Thread::ClearStackFrames() do its job. submitted by amccarth on behalf of lemo Bug: https://bugs.llvm.org/show_bug.cgi?id=34510 Differential Revision: https://reviews.llvm.org/D37527 llvm-svn: 312735
This commit is contained in:
parent
8af4e23d1e
commit
8fe23bc520
|
|
@ -43,8 +43,6 @@ ThreadMinidump::~ThreadMinidump() {}
|
|||
|
||||
void ThreadMinidump::RefreshStateAfterStop() {}
|
||||
|
||||
void ThreadMinidump::ClearStackFrames() {}
|
||||
|
||||
RegisterContextSP ThreadMinidump::GetRegisterContext() {
|
||||
if (!m_reg_context_sp) {
|
||||
m_reg_context_sp = CreateRegisterContextForFrame(nullptr);
|
||||
|
|
|
|||
|
|
@ -37,8 +37,6 @@ public:
|
|||
lldb::RegisterContextSP
|
||||
CreateRegisterContextForFrame(StackFrame *frame) override;
|
||||
|
||||
void ClearStackFrames() override;
|
||||
|
||||
protected:
|
||||
lldb::RegisterContextSP m_thread_reg_ctx_sp;
|
||||
llvm::ArrayRef<uint8_t> m_gpregset_data;
|
||||
|
|
|
|||
Loading…
Reference in New Issue