hanchenye-llvm-project/lldb/source
Enrico Granata 360cc3188d Implementing the notion of externally-acquirable ScriptInterpreter lock
With this notion, if parties outside the ScriptInterpreter itself need to acquire a lock on script APIs, they can do so by a pattern like this:

{
auto lock = interpeter->AcquireInterpreterLock();
// do whatever you need to do...
} // lock will automatically be released here

This might be useful for classes that use the Python convenience objects (e.g. PythonDictionary) to ensure they keep the underlying interpreter in a safe and controlled condition while they call through the C API functions
Of course, the ScriptInterpreter still manages its internal locking correctly when necessary :-)

llvm-svn: 178189
2013-03-27 22:38:11 +00:00
..
API Modified patch from Prabhat Verma to enable loading core files through the SBTarget API. 2013-03-25 22:40:51 +00:00
Breakpoint For file & line breakpoints, if there are subsets of contiguous line table entries for the specified line, set the 2013-03-12 01:25:22 +00:00
Commands Fix a typo in help string. 2013-03-27 17:36:54 +00:00
Core <rdar://problem/13246939> 2013-03-26 21:13:57 +00:00
DataFormatters <rdar://problem/13339196> 2013-03-26 21:44:13 +00:00
Expression Fixed a problem where inline assembly errors caused 2013-03-27 03:09:55 +00:00
Host Initial checkin of a new project: LLDB Performance Testing Infrastructure 2013-03-08 20:29:13 +00:00
Interpreter Implementing the notion of externally-acquirable ScriptInterpreter lock 2013-03-27 22:38:11 +00:00
Plugins test commit 2013-03-27 21:09:30 +00:00
Symbol Don't use a "uintptr_t" for the metadata key, use a "void *". This removes all of the casts that were being used and cleans the code up a bit. Also added the ability to dump the metadata. 2013-03-27 01:48:02 +00:00
Target If we stopped but no threads had a reason for stopping, we should tell the user about it rather than continuing. 2013-03-21 21:46:56 +00:00
Utility Various fixes for armv7 floating point/vector register support. 2013-03-13 00:14:30 +00:00
CMakeLists.txt When built with cmake, only call the string functions when the previous commands (utils/GetSourceVersion & utils/GetRepositoryPath successed). Otherwise, they fail when not launched from a repository 2013-03-16 17:01:13 +00:00
Makefile Remove LLDB dependency on xcodeworkspace (on Linux) for version number 2013-02-28 16:51:15 +00:00
lldb-log.cpp <rdar://problem/13159777> 2013-02-06 17:22:03 +00:00
lldb.cpp Updated Apple LLDB version to lldb-300.99.0. Also 2013-03-07 22:29:06 +00:00