aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.h
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2023-02-11 12:38:04 +0000
committerDimitry Andric <dim@FreeBSD.org>2023-02-11 12:38:11 +0000
commite3b557809604d036af6e00c60f012c2025b59a5e (patch)
tree8a11ba2269a3b669601e2fd41145b174008f4da8 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.h
parent08e8dd7b9db7bb4a9de26d44c1cbfd24e869c014 (diff)
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.h')
-rw-r--r--lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.h b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.h
index 59bb182ae3f3..eac4941f8814 100644
--- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.h
+++ b/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