llvm-project/lldb/source
Enrico Granata 95a9df2c82 <rdar://problem/15936507>
ScriptInterpreterPython caches the lldb.embedded_interpreter module, and since it caches it in a refcounting-safe PythonObject, the refcount will appropriately go down 1 every time a ScriptInterpreterPython is deallocated
However, we were only importing the module once - in InitializePrivate(). In a handful of interpreter creations, the refcount on the run_one_line function would end up at 0, causing LLDB to crash
This fixes it by also importing the module for every interpreter, which ensures correct refcounting

llvm-svn: 200816
2014-02-05 03:19:01 +00:00
..
API Merging the iohandler branch back into main. 2014-01-27 23:43:24 +00:00
Breakpoint Get the breakpoint setting, and the Mac OS X DYLD trampolines and expression evaluator to handle Indirect 2014-01-10 23:46:59 +00:00
Commands Fixing the Windows build for the changes brought in from the iohandler merge. 2014-01-31 18:48:46 +00:00
Core LLDB exits the command interpreter and thus LLDB when using a pty or file as the input handle and a blank line is entered (like when running under emacs). This is now fixed. 2014-02-04 19:25:11 +00:00
DataFormatters <rdar://problem/15154623> 2014-02-03 19:46:31 +00:00
Expression Merging the iohandler branch back into main. 2014-01-27 23:43:24 +00:00
Host Update header comment to match filename 2014-02-02 19:25:11 +00:00
Interpreter <rdar://problem/15936507> 2014-02-05 03:19:01 +00:00
Plugins If setgid fails for any reason, exit lldb. 2014-02-04 19:37:15 +00:00
Symbol Fix UnwindAssembly memory leak by defining and using a shared UnwindAssemblySP type. 2014-02-03 23:49:47 +00:00
Target Fix UnwindAssembly memory leak by defining and using a shared UnwindAssemblySP type. 2014-02-03 23:49:47 +00:00
Utility Extends StringExtractorGDBRemote to support debugger packets. 2013-12-05 19:25:45 +00:00
CMakeLists.txt Make lldb build with Makefiles on OS X. 2014-01-18 08:05:32 +00:00
Makefile Make lldb build with Makefiles on OS X. 2014-01-18 08:05:32 +00:00
lldb-log.cpp The output of 'log list' was missing a few of the lldb channels: 2013-09-12 01:48:59 +00:00
lldb.cpp Merging the iohandler branch back into main. 2014-01-27 23:43:24 +00:00