diff options
author | Tatyana Krasnukha <tatyana@synopsys.com> | 2018-09-05 17:07:29 +0000 |
---|---|---|
committer | Tatyana Krasnukha <tatyana@synopsys.com> | 2018-09-05 17:07:29 +0000 |
commit | bc555237a4cee9b25d0681ecbc1603a089c7421c (patch) | |
tree | d11d22cc2769c1b2f1bcd1bbac6c841e4c2a92cd /lldb/scripts/Python/python-wrapper.swig | |
parent | dbf52837fea5b9588f69632d5e067fa3e323de97 (diff) | |
download | llvm-bc555237a4cee9b25d0681ecbc1603a089c7421c.zip llvm-bc555237a4cee9b25d0681ecbc1603a089c7421c.tar.gz llvm-bc555237a4cee9b25d0681ecbc1603a089c7421c.tar.bz2 |
Hold GIL while allocating memory for PythonString.
Summary:
Swig wraps C++ code into SWIG_PYTHON_THREAD_BEGIN_ALLOW; ... SWIG_PYTHON_THREAD_END_ALLOW;
Thus, LLDB crashes with "Fatal Python error: Python memory allocator called without holding the GIL" when calls an lldb_SB***___str__ function.
Reviewers: clayborg
Reviewed By: clayborg
Differential Revision: https://reviews.llvm.org/D51569
llvm-svn: 341482
Diffstat (limited to 'lldb/scripts/Python/python-wrapper.swig')
0 files changed, 0 insertions, 0 deletions