teak-llvm/lldb/packages/Python/lldbsuite
Greg Clayton 7904046c33 Calling SBDebugger::CeeateTarget being called on multiple threads was crashing LLDB.
I found the race condition in:

ScriptInterpreter *CommandInterpreter::GetScriptInterpreter(bool can_create);

More than one "ScriptInterpreter *" was being returned due to the race which caused any clients with the first one to now be pointing to freed memory and we would quickly crash.

Added a test to catch this so we don't regress.

<rdar://problem/28356584> 

llvm-svn: 289169
2016-12-09 01:21:14 +00:00
..
pre_kill_hook added Linux support for test timeout sampling 2016-09-26 20:25:47 +00:00
support *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
test Calling SBDebugger::CeeateTarget being called on multiple threads was crashing LLDB. 2016-12-09 01:21:14 +00:00
test_event test infra: clear file-charged issues on rerun of file 2016-10-01 00:17:08 +00:00
__init__.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
.clang-format Updated .clang-format rules so bring LLDB in line with LLVM standards. 2016-09-06 17:19:00 +00:00