- Mar 27, 2013
-
-
Enrico Granata authored
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
-
Ashok Thirumurthi authored
- modified a comment llvm-svn: 178178
-
-
Greg Clayton authored
llvm-svn: 178176
-
rdar://problem/13327940Greg Clayton authored
Enhance automated testing to include evaluating function calls. llvm-svn: 178175
-
Jim Ingham authored
llvm-svn: 178154
-
Sean Callanan authored
LLDB to crash. <rdar://problem/13497915> llvm-svn: 178115
-
Greg Clayton authored
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. llvm-svn: 178113
-
Greg Clayton authored
llvm-svn: 178112
-
- Mar 26, 2013
-
-
Greg Clayton authored
llvm-svn: 178085
-
rdar://problem/13339196Enrico Granata authored
The algorithm to access an item in a __NSArrayM was not reacting properly to deletions The fix is to use a smarter formula that accounts for items shifting and the resulting notion of offsets in the table llvm-svn: 178076
-
rdar://problem/13246939Enrico Granata authored
Make format uint64_t[] actually work as designed llvm-svn: 178072
-
Greg Clayton authored
llvm-svn: 178071
-
Greg Clayton authored
llvm-svn: 178070
-
Greg Clayton authored
llvm-svn: 178069
-
Greg Clayton authored
llvm-svn: 178068
-
Enrico Granata authored
- Making an error message more consistent - Ensuring the element size is not zero before using it in a modulus - Properly using target settings to cap the std::list element count - Removing spurious element size calculations that were unused - Removing spurious capping in std::map llvm-svn: 178057
-
Greg Clayton authored
llvm-svn: 178056
-
Jim Ingham authored
That wasn't a typo, if the short letter option is from a non-obvious source, I capitolize it in the help as an aid to memory. llvm-svn: 178052
-
Enrico Granata authored
Our commands that end up displaying a ValueObject as part of their workflow use OptionGroupValueObjectDisplay as their currency for deciding the final representation ValueObjects themselves use DumpValueObjectOptions as the currency for the same purpose The code to convert between these two units was replicated (to varying degrees of correctness) in several spots in the code This checkin provides one and only one (and hopefully correct :-) entry point for this conversion llvm-svn: 178044
-
Jim Ingham authored
llvm-svn: 178043
-
Sean Callanan authored
llvm-svn: 178039
-
Greg Clayton authored
llvm-svn: 178035
-
rdar://problem/13502196Greg Clayton authored
We have the tag when figuring out the fully qualified name, append a suitable name for other types of tags when no name is available. llvm-svn: 177966
-
rdar://problem/13502196Greg Clayton authored
Functions in "(anonymous namespace)" was causing LLDB to crash when trying to complete a type and it would also cause functions arguments to appear in wrong place in frame display when showing function arguments. llvm-svn: 177965
-
Jim Ingham authored
llvm-svn: 177964
-
rdar://problem/13221060Enrico Granata authored
Make register read and write accept $<regname> as valid. This allows: (lldb) reg read rbx rbx = 0x0000000000000000 (lldb) reg read $rbx rbx = 0x0000000000000000 (lldb) reg write $rbx 1 (lldb) reg read $rbx rbx = 0x0000000000000001 to function correctly It is not done at the RegisterContext level because we should keep the internal API clean of this user-friendly behavior and name registers appropriately. If this ends up being needed in more places we can reconsider. llvm-svn: 177961
-
Enrico Granata authored
Checking that the wrong syntax does not give a correct summary after clearing the error messages here llvm-svn: 177949
-
- Mar 25, 2013
-
-
Greg Clayton authored
llvm-svn: 177932
-
Greg Clayton authored
Fix the buildbot so a LLDB test doesn't fail looking for "<invalid usage of pointer value as object>". llvm-svn: 177926
-
rdar://problem/13498879Greg Clayton authored
C String summary is emitting "<invalid usage of pointer value as object>" for bad pointers. Now it doesn't emit anything. llvm-svn: 177913
-
rdar://problem/13498504Han Ming Ong authored
Don't hard code vm page size in profiling code llvm-svn: 177907
-
rdar://problem/13404009Han Ming Ong authored
Only get the attach_info's user ID if the supplied user info is invalid. llvm-svn: 177900
-
rdar://problem/13365424Enrico Granata authored
Ensure that option -Y also works for expression as it does for frame variable Also, if the user passes an explicit format specifier when printing a variable, override the summary's decision to hide the value. This is required for scenarios like this to work: (lldb) p/x c (Class) $0 = 0x0000000100adb7f8 NSObject Previously this would say: (lldb) p/x c (Class) $0 = NSObject ignoring the explicit format specifier llvm-svn: 177893
-
rdar://problem/13434476Enrico Granata authored
Making value objects properly iterable in constructs of the form [ x for x in value_with_children ] This would previously cause an endless loop because lacking a proper iterator object, Python will keep calling __getitem__() with increasing values of the index until it gets an IndexError since SBValue::GetValueForExpressionPath() supports synthetic array members, no array index will ever really cause an IndexError to be raised, hence the endless iteration class value_iter is an implementation of __iter__() that provides a terminating iterator over a value llvm-svn: 177885
-
Sean Callanan authored
went wrong and we tried to get layout information that wasn't there. <rdar://problem/13490170> llvm-svn: 177880
-
Enrico Granata authored
llvm-svn: 177879
-
Enrico Granata authored
- Masking out SBCommandReturnObject::Printf() from the Python layer because SWIG and varargs do not get along well. It is replaced by a Print("str") call which is equivalent to Printf("%s","str") - Providing file-like behavior for SBStream with appropriate extension write() and flush() calls, plus documenting that these are only meant and only exist for Python Documenting the file-like behavior on our website llvm-svn: 177877
-
- Mar 23, 2013
-
-
Jason Molenda authored
off the inferior process so we stand a better chance of understanding what caused us to send a PT_KILL. <rdar://problem/12720340> llvm-svn: 177817
-
Jason Molenda authored
<rdar://problem/12281172> llvm-svn: 177814
-