diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2025-08-01 16:18:24 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-01 16:18:24 -0700 |
| commit | 4d1ae58d9e1d679cd0f35ce935579df221b14882 (patch) | |
| tree | 062cb99bd36fea59d03e2e177cc85fbb183c40b3 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | |
| parent | 33abf05af4f8f7f80856bd018d117c98f8807e87 (diff) | |
| download | llvm-4d1ae58d9e1d679cd0f35ce935579df221b14882.zip llvm-4d1ae58d9e1d679cd0f35ce935579df221b14882.tar.gz llvm-4d1ae58d9e1d679cd0f35ce935579df221b14882.tar.bz2 | |
[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
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
| -rw-r--r-- | lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h index 6a5dd43..0c484b1 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 |
