[lldb/Plugins] Add support for ScriptedThread in ScriptedProcess
This patch introduces the `ScriptedThread` class with its python interface. When used with `ScriptedProcess`, `ScriptedThreaad` can provide various information such as the thread state, stop reason or even its register context. This can be used to reconstruct the program stack frames using lldb's unwinder. rdar://74503836 Differential Revision: https://reviews.llvm.org/D107585 Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
This commit is contained in:
1 parent
6393c21d47
commit
59d8dd79e1
21 files changed
+932
-74
No files matched your search
@@ -50,6 +50,11 @@ public:
|
||||
lldb::pid_t GetProcessID() override;
|
||||
|
||||
bool IsAlive() override;
|
||||
|
||||
llvm::Optional<std::string> GetScriptedThreadPluginName() override;
|
||||
|
||||
private:
|
||||
lldb::ScriptedThreadInterfaceSP GetScriptedThreadInterface() override;
|
||||
};
|
||||
} // namespace lldb_private
|
||||
|
||||
|
||||
Reference in new issue
Block a user