From e3b557809604d036af6e00c60f012c2025b59a5e Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 11 Feb 2023 13:38:04 +0100 Subject: Vendor import of llvm-project main llvmorg-16-init-18548-gb0daacf58f41, the last commit before the upstream release/17.x branch was created. --- .../ScriptInterpreter/Python/ScriptedThreadPythonInterface.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.h') 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 namespace lldb_private { class ScriptedThreadPythonInterface : public ScriptedThreadInterface, @@ -29,11 +30,11 @@ public: lldb::tid_t GetThreadID() override; - llvm::Optional GetName() override; + std::optional GetName() override; lldb::StateType GetState() override; - llvm::Optional GetQueue() override; + std::optional GetQueue() override; StructuredData::DictionarySP GetStopReason() override; @@ -41,7 +42,9 @@ public: StructuredData::DictionarySP GetRegisterInfo() override; - llvm::Optional GetRegisterContext() override; + std::optional GetRegisterContext() override; + + StructuredData::ArraySP GetExtendedInfo() override; }; } // namespace lldb_private -- cgit v1.3