[lldb] Return Unwinder& from Thread::GetUnwinder
authorPavel Labath <pavel@labath.sk>
Mon, 9 Mar 2020 13:10:41 +0000 (14:10 +0100)
committerPavel Labath <pavel@labath.sk>
Mon, 9 Mar 2020 13:13:22 +0000 (14:13 +0100)
commitc0b1af6878444f075a17d87f523bc6be3343db35
tree11c9b19c64b0cfe82220bd59fd6cbd8d1b544919
parent6ba0a4ec3bbfe71050b7b5c87f46820f3500e211
[lldb] Return Unwinder& from Thread::GetUnwinder

The function always returns a valid object. Let the return type reflect
that, and remove some null checks.
lldb/include/lldb/Target/StackFrameList.h
lldb/include/lldb/Target/Thread.h
lldb/source/Plugins/Process/Utility/ThreadMemory.cpp
lldb/source/Plugins/Process/elf-core/ThreadElfCore.cpp
lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp
lldb/source/Plugins/Process/mach-core/ThreadMachCore.cpp
lldb/source/Target/StackFrameList.cpp
lldb/source/Target/Thread.cpp