[LLDB] Handle possible resume thread error
authorEmmmer <yjhdandan@163.com>
Tue, 16 Aug 2022 07:37:23 +0000 (15:37 +0800)
committerEmmmer <yjhdandan@163.com>
Tue, 16 Aug 2022 15:43:28 +0000 (23:43 +0800)
commit8ed3e75c96d987e294067e2fe0ab5b02a5bcc89d
tree70c0a359c83bc45927d035cd54345218fb901593
parent95e2949a5352aea0182ba5295bf9ba46080c261e
[LLDB] Handle possible resume thread error

In this switch case we didn't handle possible errors in `ResumeThread()`, it's hard to get helpful information when it goes wrong.

Reviewed By: DavidSpickett

Differential Revision: https://reviews.llvm.org/D131946
lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp