forked from OSchip/llvm-project
[lldb/Process] Update ThreadKDP for API change
GetUnwinder now returns a reference instead of a pointer.
This commit is contained in:
parent
c494ff05ed
commit
12ba989eef
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue