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/ScriptedProcessPythonInterface.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h') diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h index 7f458b1dd9bd..6b4ee3021cfa 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h +++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h @@ -15,6 +15,7 @@ #include "ScriptedPythonInterface.h" #include "lldb/Interpreter/ScriptedProcessInterface.h" +#include namespace lldb_private { class ScriptedProcessPythonInterface : public ScriptedProcessInterface, @@ -36,7 +37,7 @@ public: Status Stop() override; - llvm::Optional + std::optional GetMemoryRegionContainingAddress(lldb::addr_t address, Status &error) override; @@ -55,7 +56,9 @@ public: bool IsAlive() override; - llvm::Optional GetScriptedThreadPluginName() override; + std::optional GetScriptedThreadPluginName() override; + + StructuredData::DictionarySP GetMetadata() override; private: lldb::ScriptedThreadInterfaceSP CreateScriptedThreadInterface() override; -- cgit v1.3