summaryrefslogtreecommitdiffstats
path: root/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2019-10-03 22:50:18 +0000
committerJim Ingham <jingham@apple.com>2019-10-03 22:50:18 +0000
commit27a14f19c810f494adddb8aaff960336ab4492e7 (patch)
treea7eae222175b77917ee9ccfd1b0f21555d7118f4 /lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
parent145cdad11925194ec41949b5c8f0cb037f9e7941 (diff)
downloadbcm5719-llvm-27a14f19c810f494adddb8aaff960336ab4492e7.tar.gz
bcm5719-llvm-27a14f19c810f494adddb8aaff960336ab4492e7.zip
Pass an SBStructuredData to scripted ThreadPlans on use.
This will allow us to write reusable scripted ThreadPlans, since you can use key/value pairs with known keys in the plan to parametrize its behavior. Differential Revision: https://reviews.llvm.org/D68366 llvm-svn: 373675
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp')
-rw-r--r--lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp b/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
index 3ccda8c6fed..9c0b90b28eb 100644
--- a/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
+++ b/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
@@ -95,6 +95,7 @@ LLDBSwigPythonCreateCommandObject(const char *python_class_name,
extern "C" void *LLDBSwigPythonCreateScriptedThreadPlan(
const char *python_class_name, const char *session_dictionary_name,
+ StructuredDataImpl *args_data,
std::string &error_string,
const lldb::ThreadPlanSP &thread_plan_sp) {
return nullptr;
OpenPOWER on IntegriCloud