[lldb/Process] Update ThreadKDP for API change

GetUnwinder now returns a reference instead of a pointer.
This commit is contained in:
Jonas Devlieghere 2020-03-09 09:59:06 -07:00
parent c494ff05ed
commit 12ba989eef
1 changed files with 1 additions and 3 deletions

View File

@ -118,9 +118,7 @@ ThreadKDP::CreateRegisterContextForFrame(StackFrame *frame) {
}
}
} else {
Unwind *unwinder = GetUnwinder();
if (unwinder != nullptr)
reg_ctx_sp = unwinder->CreateRegisterContextForFrame(frame);
reg_ctx_sp = GetUnwinder().CreateRegisterContextForFrame(frame);
}
return reg_ctx_sp;
}