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 --- lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h') diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h index 6a5dd4309636..0c484b18c23b 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h +++ b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h @@ -782,6 +782,7 @@ private: PyObject *RunString(const char *str, int start, PyObject *globals, PyObject *locals); +int RunSimpleString(const char *str); } // namespace python } // namespace lldb_private -- cgit v1.2.3