aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h
diff options
context:
space:
mode:
authorMed Ismail Bennani <medismail.bennani@gmail.com>2023-01-30 16:53:39 -0800
committerMed Ismail Bennani <medismail.bennani@gmail.com>2023-03-03 19:33:02 -0800
commit2d5348be2561402e284e26a9adf3a2e28e70c1f5 (patch)
tree1b4c4fd7fffe8b22da6b789a5c102b974f908550 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h
parente6cac17b563f2e2bc7d04347b0b40a9fe12334c9 (diff)
downloadllvm-2d5348be2561402e284e26a9adf3a2e28e70c1f5.zip
llvm-2d5348be2561402e284e26a9adf3a2e28e70c1f5.tar.gz
llvm-2d5348be2561402e284e26a9adf3a2e28e70c1f5.tar.bz2
[lldb/Plugins] Add ScriptedProcess::GetCapabilities affordance (NFC)
This patch introduces a new method to the Scripted Process interface, GetCapabilities. This returns a dictionary that contains a list of flags that the ScriptedProcess instance supports. This can be used for instance, to force symbol lookup, when loading dynamic libraries in the scripted process. Differential Revision: https://reviews.llvm.org/D142059 Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h')
-rw-r--r--lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h
index 6b4ee30..6358f9c 100644
--- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h
+++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h
@@ -29,6 +29,8 @@ public:
StructuredData::DictionarySP args_sp,
StructuredData::Generic *script_obj = nullptr) override;
+ StructuredData::DictionarySP GetCapabilities() override;
+
Status Launch() override;
Status Resume() override;