From 4d1ae58d9e1d679cd0f35ce935579df221b14882 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Fri, 1 Aug 2025 16:18:24 -0700 Subject: [lldb] Reimplment PyRun_SimpleString using the Python stable C API (#151777) Reimplment `PyRun_SimpleString` using the Python stable C API and the `RunString` helper. Part of https://github.com/llvm/llvm-project/issues/151617 --- .../Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h') diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h index 4698b82a..83b64b8 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h +++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h @@ -475,7 +475,7 @@ public: StreamString run_string; run_string.Printf("run_python_interpreter (%s)", m_python->GetDictionaryName()); - PyRun_SimpleString(run_string.GetData()); + python::RunSimpleString(run_string.GetData()); } } SetIsDone(true); -- cgit v1.1