teak-llvm/lldb/packages/Python/lldbsuite/test/api
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
..
check_public_api_headers [Test Suite] Pull generateSource into lldbtest 2016-10-31 04:48:19 +00:00
listeners *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
multiple-debuggers Reduce the number of simultaneous debug sessions to 10 and remove 2016-09-13 02:45:45 +00:00
multiple-targets Calling SBDebugger::CeeateTarget being called on multiple threads was crashing LLDB. 2016-12-09 01:21:14 +00:00
multithreaded Enable TestMultithreaded-sb_api_listener_event_process_state on linux/gcc 2016-11-24 15:10:15 +00:00