diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2023-04-14 21:41:27 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2023-07-23 17:38:08 +0000 |
commit | 320d4fb58b6b1c6a0c7ffeab3d4672d1479d5e17 (patch) | |
tree | 4b5e279a6f091bb6bdc639752cf4139dfd7053a4 /contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.h | |
parent | 814cfa6ad43c73de9b8030f241f516dad3f669ef (diff) |
Diffstat (limited to 'contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.h')
-rw-r--r-- | contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.h b/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.h index 59bb182ae3f3..eac4941f8814 100644 --- a/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.h +++ b/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.h @@ -15,6 +15,7 @@ #include "ScriptedPythonInterface.h" #include "lldb/Interpreter/ScriptedProcessInterface.h" +#include <optional> namespace lldb_private { class ScriptedThreadPythonInterface : public ScriptedThreadInterface, @@ -29,11 +30,11 @@ public: lldb::tid_t GetThreadID() override; - llvm::Optional<std::string> GetName() override; + std::optional<std::string> GetName() override; lldb::StateType GetState() override; - llvm::Optional<std::string> GetQueue() override; + std::optional<std::string> GetQueue() override; StructuredData::DictionarySP GetStopReason() override; @@ -41,7 +42,9 @@ public: StructuredData::DictionarySP GetRegisterInfo() override; - llvm::Optional<std::string> GetRegisterContext() override; + std::optional<std::string> GetRegisterContext() override; + + StructuredData::ArraySP GetExtendedInfo() override; }; } // namespace lldb_private |