aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python/modify-python-lldb.py
diff options
context:
space:
mode:
authorTatyana Krasnukha <tatyana@synopsys.com>2018-09-05 17:07:29 +0000
committerTatyana Krasnukha <tatyana@synopsys.com>2018-09-05 17:07:29 +0000
commitbc555237a4cee9b25d0681ecbc1603a089c7421c (patch)
treed11d22cc2769c1b2f1bcd1bbac6c841e4c2a92cd /lldb/scripts/Python/modify-python-lldb.py
parentdbf52837fea5b9588f69632d5e067fa3e323de97 (diff)
downloadllvm-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/modify-python-lldb.py')
0 files changed, 0 insertions, 0 deletions