• Home
  • History
  • Annotate
  • only in /external/lldb/examples/summaries/cocoa/
History log of /external/lldb/examples/summaries/cocoa/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cba09f60618744e2155bc97c9049fa9c797698ad 19-Mar-2013 Enrico Granata <egranata@apple.com> This checkin removes the last Cocoa formatters that were implemented in Python and reimplements them in C++. The Python Cocoa formatters are not shipped as part of LLDB anymore, but still exist in the source repository for user reference. Python formatters still exist for STL classes and users can still define their own Python formatters

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@177366 91177308-0d34-0410-b5e6-96231b3b80d8
SDate.py
3818e6ac2211921db522abedd43746c1de3e82b5 16-Mar-2013 Enrico Granata <egranata@apple.com> NS(Mutable)IndexSet formatter moves from Python to C++

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@177217 91177308-0d34-0410-b5e6-96231b3b80d8
SIndexSet.py
dc1df6b2fd7d359753b2bcfcf2decb114f465a1d 16-Mar-2013 Enrico Granata <egranata@apple.com> Converting more data formatters to C++ - NSBundle, CFBinaryHeap, NSMachPort and NSNotification

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@177213 91177308-0d34-0410-b5e6-96231b3b80d8
FBag.py
FBinaryHeap.py
SBundle.py
SMachPort.py
SNotification.py
17ab954036c40c0eddf28a45f20db4dfaf0d06ef 09-Feb-2013 Enrico Granata <egranata@apple.com> Quick fix for the libc++ std::map synthetic children provider
If you try to access any child > 0 without having touched child 0, LLDB won't be able to reconstruct type information from the debug info.
Previously, we would fail.
Now, we simply go fetch child 0 and then come back.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@174795 91177308-0d34-0410-b5e6-96231b3b80d8
ogger.py
a3f653492b61ea1d836101d06b7ff439acfd5b3b 30-Jan-2013 Enrico Granata <egranata@apple.com> <rdar://problem/12552374> & <rdar://problem/13100674>

The vtable pointer field is not necessarily a pointer and hence cannot be used for validation



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@173947 91177308-0d34-0410-b5e6-96231b3b80d8
bjc_runtime.py
209473a3e32a515f28cde69464ba2e625ae8f55c 16-Jan-2013 Enrico Granata <egranata@apple.com> Replacing reference to radar number with svn revision



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@172641 91177308-0d34-0410-b5e6-96231b3b80d8
bjc_runtime.py
62dca4b379a209429629957c35c8d6dfd7982ac1 16-Jan-2013 Enrico Granata <egranata@apple.com> Greg created a new API on SBProcess to get an ID that is guaranteed to be unique even in situations where underlying platforms would actually duplicate or hardcode PIDs

The Python data formatters use a per-process cache that was previously keying off the PID. Moving that to be based on this new notion of unique ID.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@172633 91177308-0d34-0410-b5e6-96231b3b80d8
bjc_runtime.py
08d6681715eaf4c24d7d42b8c514d055c8125c7a 18-Dec-2012 Enrico Granata <egranata@apple.com> Tweaking a comment in the NSURL formatter for correctness - the code was doing the right thing, but the comment was highly misleading

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@170441 91177308-0d34-0410-b5e6-96231b3b80d8
SURL.py
3ca24b48096ca34bdcfed26e85bb0d6be6169153 10-Dec-2012 Enrico Granata <egranata@apple.com> <rdar://problem/12817233>

Change the wording of NSNumber summary from absurd value to unexpected value when a tagged pointer shows up that does not match our knowledge of the internals



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@169751 91177308-0d34-0410-b5e6-96231b3b80d8
SNumber.py
82ad7ca1423d998c6229899fed47464f61b86311 24-Oct-2012 Enrico Granata <egranata@apple.com> Changing the NSDate data formatter to use GetData().uint64[] instead of relying on SBValue.GetValueAsUnsigned() to reinterpret a double as a uint64_t

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@166610 91177308-0d34-0410-b5e6-96231b3b80d8
SDate.py
2c56666dc5ab13b6299c0ef41439ded52bca5427 06-Oct-2012 Enrico Granata <egranata@apple.com> <rdar://problem/12426557> Fixing the NSIndexSet data formatter

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@165341 91177308-0d34-0410-b5e6-96231b3b80d8
SIndexSet.py
00f9ebe460fd6e9c226f4ba3f6610fbed7b0ef29 18-Sep-2012 Enrico Granata <egranata@apple.com> <rdar://problem/11398693> Making sure we do not attempt to run code on zombie objects when attempting to format them

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@164156 91177308-0d34-0410-b5e6-96231b3b80d8
bjc_runtime.py
3b031d93d53b509c43d592cbcdc17a862f3508b8 18-Sep-2012 Enrico Granata <egranata@apple.com> Fix a potential issue where data formatters can get confused over malformed UUIDs

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@164151 91177308-0d34-0410-b5e6-96231b3b80d8
bjc_runtime.py
defd0dc9331fbc7c8d0df60acf7fe63a64e393f4 18-Sep-2012 Enrico Granata <egranata@apple.com> <rdar://problem/12161825> Rephrase formatter for NSIndexSet in terms of indexes instead of objects

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@164149 91177308-0d34-0410-b5e6-96231b3b80d8
SIndexSet.py
c630f31ca7e5846eb932fcdad39a0d466feb7a66 04-Sep-2012 Enrico Granata <egranata@apple.com> <rdar://problem/12068655> Make sure [NSDate distantPast] is formatted correctly

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@163162 91177308-0d34-0410-b5e6-96231b3b80d8
SDate.py
98222732528a6dd271da301b5f9f2467912502e3 04-Sep-2012 Enrico Granata <egranata@apple.com> Editing a comment to make sure people know not to blame CFString.py for CFString summary errors

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@163157 91177308-0d34-0410-b5e6-96231b3b80d8
FString.py
ae2ae94bd72daf435204e99a0e03ccc64470a843 04-Sep-2012 Enrico Granata <egranata@apple.com> <rdar://problem/11485744> Implement important data formatters in C++. Have the Objective-C language runtime plugin expose class descriptors objects akin to the objc_runtime.py Pythonic implementation. Rewrite the data formatters for some core Cocoa classes in C++ instead of Python.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@163155 91177308-0d34-0410-b5e6-96231b3b80d8
FArray.py
FDictionary.py
SData.py
SNumber.py
ee1747d7ae79fdce19b3807c39f81ee8b63c13a0 01-Aug-2012 Filipe Cabecinhas <me@filcab.net> Make the objc-runtime work with Python 2.6

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@161111 91177308-0d34-0410-b5e6-96231b3b80d8
bjc_runtime.py
9aa80028ae8f7e570759617f7838bbf29fb26698 13-Jul-2012 Enrico Granata <egranata@apple.com> <rdar://problem/11753405> Making sure we deal correctly with signed NSNumber values

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@160179 91177308-0d34-0410-b5e6-96231b3b80d8
SNumber.py
d0a098024ae5cd6e98429682590e687cecb6b0fe 21-May-2012 Enrico Granata <egranata@apple.com> Fixes for performance to data formatters - Python < 3.0 is much slower when using True/False as compared to 1/0 for logical values. Wexploit this to our advantage. Other minor tweaks

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157209 91177308-0d34-0410-b5e6-96231b3b80d8
bjc_runtime.py
6bf058b8054a1152bb227d37d6fe7c6b21a14dd3 18-May-2012 Enrico Granata <egranata@apple.com> Optimizations to the Python ObjC formatters - Benchmarking infrastructure

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157066 91177308-0d34-0410-b5e6-96231b3b80d8
etrics.py
bjc_runtime.py
a695aa28bc34a0bc4d9b61e3752f7cff1454c39b 15-May-2012 Enrico Granata <egranata@apple.com> Fixing a bug where the summary for certain NSStrings was being returned as empty in spite of the string actually having a content

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@156793 91177308-0d34-0410-b5e6-96231b3b80d8
FString.py
ce035a0ad0a6d6f07c1acdc38bdab02a327052c1 26-Apr-2012 Enrico Granata <egranata@apple.com> Automatically enabling the Cocoa formatter categories for command-line LLDB. Previously, the categories were filled in but disabled by default. Tweaking test cases appropriately to keep working and do the right thing

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155605 91177308-0d34-0410-b5e6-96231b3b80d8
SDate.py
0ff10b595416cc33bd66ecbdbcb93935327be0d0 25-Apr-2012 Enrico Granata <egranata@apple.com> Fixing a typo in the NSArray data formatter

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155586 91177308-0d34-0410-b5e6-96231b3b80d8
FArray.py
a5c2ce05705f784fd4ada97823af6ff7006fea58 25-Apr-2012 Enrico Granata <egranata@apple.com> Returning data formatters to their previous working condition - Plus fixing an issue that was preventing Python oneliners from executing

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155563 91177308-0d34-0410-b5e6-96231b3b80d8
FArray.py
FBag.py
FBinaryHeap.py
FBitVector.py
FDictionary.py
lass.py
SBundle.py
SData.py
SDate.py
SException.py
SIndexSet.py
SMachPort.py
SNotification.py
SNumber.py
SSet.py
SURL.py
bjc_runtime.py
0d235d5864e996d95f485df1a0df406126e1ccde 25-Apr-2012 Enrico Granata <egranata@apple.com> Making the Cocoa formatters comply with the new on-disk layout of the Python resources - This is one of the steps towards making the data formatters work again

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155526 91177308-0d34-0410-b5e6-96231b3b80d8
FArray.py
FBag.py
FBinaryHeap.py
FBitVector.py
FDictionary.py
FString.py
lass.py
SBundle.py
SData.py
SDate.py
SException.py
SIndexSet.py
SMachPort.py
SNotification.py
SNumber.py
SSet.py
SURL.py
ache.py
bjc_runtime.py
4e651b1222992d3d93d11ca2f84c69477165e117 25-Apr-2012 Greg Clayton <gclayton@apple.com> Maked LLDB into a package so we can import things without poluting the global namespace.

Enrico will follow this up with fixing the data formatter test cases that are failing.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155514 91177308-0d34-0410-b5e6-96231b3b80d8
bjc_lldb.py
35eac9d979574950afa087fed398179a92a45c36 03-Apr-2012 Enrico Granata <egranata@apple.com> One last syntax error fix

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153911 91177308-0d34-0410-b5e6-96231b3b80d8
SBundle.py
6805e3f988769b01a1c9bcdba1497afb026a8058 03-Apr-2012 Enrico Granata <egranata@apple.com> Fixing syntax typos in Python formatters

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153910 91177308-0d34-0410-b5e6-96231b3b80d8
FArray.py
SBundle.py
SNumber.py
9b8608555e889ad0ca754b8f83ed4edc02b33aca 02-Apr-2012 Enrico Granata <egranata@apple.com> Removing some instances of str(SBValue)

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153899 91177308-0d34-0410-b5e6-96231b3b80d8
FArray.py
SBundle.py
SNumber.py
8f18240a09893310c43673901d863892ae7b0611 02-Apr-2012 Enrico Granata <egranata@apple.com> Logging for data formatters.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153878 91177308-0d34-0410-b5e6-96231b3b80d8
FArray.py
FBag.py
FBinaryHeap.py
FBitVector.py
FDictionary.py
FString.py
lass.py
SBundle.py
SDate.py
SException.py
SIndexSet.py
SMachPort.py
SNotification.py
SNumber.py
SSet.py
SURL.py
bjc_runtime.py
805f79b15edd61887c26a3f0ea80457790ba5807 30-Mar-2012 Enrico Granata <egranata@apple.com> Fixing a whole class of crashers and potential crashers related to data formatters eating up all the stack when an unknown class has to be summarized ; this should make the whole Objective-C summaries more stable

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153712 91177308-0d34-0410-b5e6-96231b3b80d8
FBag.py
FBinaryHeap.py
FBitVector.py
FDictionary.py
SBundle.py
SData.py
SDate.py
SException.py
SIndexSet.py
SMachPort.py
SNotification.py
SNumber.py
SSet.py
SURL.py
7e202269d09cebf2f5047bf92fff8c8ecf732448 29-Mar-2012 Enrico Granata <egranata@apple.com> Part 1 of a series of fixes meant to improve reliability and increase ease of bug fixing for data formatter issues.
We are introducing a new Logger class on the Python side. This has the same purpose, but is unrelated, to the C++ logging facility
The Pythonic logging can be enabled by using the following scripting commands:
(lldb) script Logger._lldb_formatters_debug_level = {0,1,2,...}
0 = no logging
1 = do log
2 = flush after logging each line - slower but safer
3 or more = each time a Logger is constructed, log the function that has created it
more log levels may be added, each one being more log-active than the previous
by default, the log output will come out on your screen, to direct it to a file:
(lldb) script Logger._lldb_formatters_debug_filename = 'filename'
that will make the output go to the file - set to None to disable the file output and get screen logging back
Logging has been enabled for the C++ STL formatters and for Cocoa class NSData - more logging will follow


synthetic children providers for classes list and map (both libstdcpp and libcxx) now have internal capping for safety reasons
this will fix crashers where a malformed list or map would not ever meet our termination conditions

to set the cap to a different value:

(lldb) script {gnu_libstdcpp|libcxx}.{map|list}_capping_size = new_cap (by default, it is 255)

you can optionally disable the loop detection algorithm for lists

(lldb) script {gnu_libstdcpp|libcxx}.list_uses_loop_detector = False


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153676 91177308-0d34-0410-b5e6-96231b3b80d8
ogger.py
SData.py
80731ec9368b8e1cbfe093fb9ec257457ef29133 29-Mar-2012 Enrico Granata <egranata@apple.com> Fixing an issue where Unicode characters in an NSString were printed as escape sequences by the summary provider shipping with LLDB - Added relevant test case code. Bonus points for identifying the source of the quotes :-)

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153624 91177308-0d34-0410-b5e6-96231b3b80d8
FString.py
9d4b6e502411145cfd04a93237a64a0bd67c0de5 28-Mar-2012 Enrico Granata <egranata@apple.com> Adding missing file

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153559 91177308-0d34-0410-b5e6-96231b3b80d8
lass.py
67812172eecc4426c17b25354af072f6a4a9aad9 27-Mar-2012 Enrico Granata <egranata@apple.com> adding a summary for Objective-C type 'Class'

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153541 91177308-0d34-0410-b5e6-96231b3b80d8
bjc_runtime.py
579a296e7566b7b6d24b51e383bca1fe1e62086f 13-Mar-2012 Enrico Granata <egranata@apple.com> The Cocoa formatters now provide error messages for many of the common things-went-wrong situations. Previously they would say nothing or log failures to the Python console


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@152673 91177308-0d34-0410-b5e6-96231b3b80d8
FArray.py
FBag.py
FBinaryHeap.py
FBitVector.py
FDictionary.py
FString.py
SBundle.py
SData.py
SDate.py
SException.py
SIndexSet.py
SMachPort.py
SNotification.py
SNumber.py
SSet.py
SURL.py
elector.py
ttrib_fromdict.py
ache.py
etrics.py
bjc_runtime.py
7b9aacf4a454465af905e505f74245173714b23b 13-Mar-2012 Enrico Granata <egranata@apple.com> Changed several of the Cocoa formatters to match the output style that Xcode uses internally to provide summaries
This has been done for those summaries where the difference is only cosmetic (e.g. naming things as items instead of values, ...)
The LLDB output style has been preserved when it provides more information (e.g. telling the type as well as the value of an NSNumber)

Test cases have been updated to reflect the updated output style where necessary


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@152592 91177308-0d34-0410-b5e6-96231b3b80d8
FArray.py
FBag.py
FBinaryHeap.py
FDictionary.py
SData.py
SDate.py
SException.py
SSet.py
SURL.py
a58d9e75d6c3a2d02be931f1d549e68c91d10da6 09-Mar-2012 Enrico Granata <egranata@apple.com> Fixing a problem with the NSSet summary provider; plus, providing a further optimization to the whole Cocoa formatters infrastructure

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@152423 91177308-0d34-0410-b5e6-96231b3b80d8
SSet.py
etrics.py
092f71fca36e29031da906e26bda1a28d5595e8c 09-Mar-2012 Enrico Granata <egranata@apple.com> the formatter for NSNotification was not being initialized correctly

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@152358 91177308-0d34-0410-b5e6-96231b3b80d8
SNotification.py
323cec97d94bd1836e8c158e7065fdb5ad71ad48 07-Mar-2012 Enrico Granata <egranata@apple.com> Fixing some of the new Python formatters to report '1 object' instead of '1 objects'

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@152186 91177308-0d34-0410-b5e6-96231b3b80d8
FArray.py
FBag.py
FBinaryHeap.py
FDictionary.py
SData.py
SIndexSet.py
SSet.py
f2a84671ff78bee1f82b60698f3ee9791585f8ac 05-Mar-2012 Enrico Granata <egranata@apple.com> Several performance-oriented changes to the introspecting data formatters:
(a) the SystemParameters object is now passed around to the formatters; doing so enables the formatters to reuse computed values for things such as pointer-size and endianness
instead of repeatedly computing these on their own
(b) replacing the global ISA cache with a per-process one
(c) providing a per-process types cache where each formatter can store the types it needs to operate, and be sure to find them the next time without recalculating them
this also enables formatters to share types if they agree on a local naming convention
(d) lazy fetching of data from Objective-C runtime data structures
data is fetched as needed and we stop reading as soon as we determine that an ISA is actually garbage


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@152052 91177308-0d34-0410-b5e6-96231b3b80d8
FArray.py
FBag.py
FBinaryHeap.py
FBitVector.py
FDictionary.py
FString.py
SBundle.py
SData.py
SDate.py
SException.py
SIndexSet.py
SMachPort.py
SNotification.py
SNumber.py
SSet.py
SURL.py
ttrib_fromdict.py
bjc_lldb.py
bjc_runtime.py
de3b25b645e4b4d97a87ebf059056a6c696d4e9c 03-Mar-2012 Enrico Granata <egranata@apple.com> added a new formatter for CF(Mutable)BitVector
fixed a few potential NULL-pointer derefs in ValueObject
we have a way to provide docstrings for properties we add to the SWIG layer - a few of these properties have a docstring already, more will come in future commits
added a new bunch of properties to SBData to make it more natural and Python-like to access the data they contain

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151962 91177308-0d34-0410-b5e6-96231b3b80d8
FBitVector.py
bjc_runtime.py
0e06628d48950ddf1d0ce432e2415434e72550fc 02-Mar-2012 Enrico Granata <egranata@apple.com> Removing a spurious print statement leftover from debugging the formatter code

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151928 91177308-0d34-0410-b5e6-96231b3b80d8
SDate.py
86fcb16c848b7503b2d082158886359ef76f1a84 02-Mar-2012 Enrico Granata <egranata@apple.com> (a) adding formatters for:
NSTimeZone and CFTimeZonRef
SEL and related types
CFGregorianDate


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151866 91177308-0d34-0410-b5e6-96231b3b80d8
SDate.py
elector.py
3dcbb2336d4a7b7162aab4719c5f3fff1d1b2355 01-Mar-2012 Enrico Granata <egranata@apple.com> this fixes unicode strings handling in 32-bit mode on Lion

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151831 91177308-0d34-0410-b5e6-96231b3b80d8
FString.py
83410e5e9e040ea5c6691f933aa9a6c4dcea4d8b 01-Mar-2012 Enrico Granata <egranata@apple.com> (a) adding an introspection formatter for NS(Mutable)IndexSet
(b) fixes and improvements to the formatters for NSDate and NSString
(c) adding an introspection formatter for NSCountedSet
(d) making the Objective-C formatters test cases pass on both 64 and 32 bit
one of the test cases is marked as expected failure on i386 - support needs to be added to the LLDB core for it to pass


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151826 91177308-0d34-0410-b5e6-96231b3b80d8
FString.py
SDate.py
SIndexSet.py
SNumber.py
SSet.py
3069c62fc7d3c0b857cd1e9269ff22011ed418fb 01-Mar-2012 Enrico Granata <egranata@apple.com> 1) solving a bug where, after Jim's fixes to stack frames, synthetic children were not recalculated when necessary, causing them to get out of sync with live data
2) providing an updated list of tagged pointers values for the objc_runtime module - hopefully this one is final
3) changing ValueObject::DumpValueObject to use an Options class instead of providing a bulky list of parameters to pass around
this change had been laid out previously, but some clients of DumpValueObject() were still using the old prototype and some arguments
were treated in a special way and passed in directly instead of through the Options class
4) providing new GetSummaryAsCString() and GetValueAsCString() calls in ValueObject that are passed a formatter object and a destination string
and fill the string by formatting themselves using the formatter argument instead of the default for the current ValueObject
5) removing the option to have formats and summaries stick to a variable for the current stoppoint
after some debate, we are going with non-sticky: if you say frame variable --format hex foo, the hex format will only be applied to the current command execution and not stick when redisplaying foo
the other option would be full stickiness, which means that foo would be formatted as hex for its whole lifetime
we are open to suggestions on what feels "natural" in this regard


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151801 91177308-0d34-0410-b5e6-96231b3b80d8
bjc_runtime.py
a0e904189172b6748935e4d00bc05d21f340caaa 29-Feb-2012 Enrico Granata <egranata@apple.com> Fixing a problem with v1 runtime - plus hopefully finalizing the code to check for tagged pointers

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151753 91177308-0d34-0410-b5e6-96231b3b80d8
bjc_runtime.py
1328b1410eb0f5e03c3b3ee302e9adca3e1b0361 29-Feb-2012 Enrico Granata <egranata@apple.com> This commit:
a) adds a Python summary provider for NSDate
b) changes the initialization for ScriptInterpreter so that we are not passing a bulk of Python-specific function pointers around
c) provides a new ScriptInterpreterObject class that allows for ref-count safe wrapping of scripting objects on the C++ side
d) contains much needed performance improvements:
1) the pointer to the Python function generating a scripted summary is now cached instead of looked up every time
2) redundant memory reads in the Python ObjC runtime wrapper are eliminated
3) summaries now use the m_summary_str in ValueObject to store their data instead of passing around ( == copying) an std::string object
e) contains other minor fixes, such as adding descriptive error messages for some cases of summary generation failure


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151703 91177308-0d34-0410-b5e6-96231b3b80d8
FArray.py
FBag.py
FBinaryHeap.py
FDictionary.py
FString.py
SBundle.py
SData.py
SDate.py
SException.py
SMachPort.py
SNotification.py
SNumber.py
SSet.py
SURL.py
bjc_lldb.py
bjc_runtime.py
b2dd15e8d8b6404dfc80a003c9ada3bab53e3f7e 24-Feb-2012 Enrico Granata <egranata@apple.com> Fixing an if condition which was causing issues in detecting the correct runtime version

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151388 91177308-0d34-0410-b5e6-96231b3b80d8
bjc_runtime.py
e859697139685b7bbe27d3d420e77c727af2080a 24-Feb-2012 Enrico Granata <egranata@apple.com> fixing a syntax error with objc_runtime.py

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151304 91177308-0d34-0410-b5e6-96231b3b80d8
bjc_runtime.py
b370df27c76fd875f3312be487868528121a4838 24-Feb-2012 Enrico Granata <egranata@apple.com> This patch provides a set of formatters for most of the commonly used Cocoa classes.
The formatter for NSString is an improved version of the one previously shipped as an example, the others are new in design and implementation.
A more robust and OO-compliant Objective-C runtime wrapper is provided for runtime versions 1 and 2 on 32 and 64 bit.
The formatters are contained in a category named "AppKit", which is not enabled at startup.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151300 91177308-0d34-0410-b5e6-96231b3b80d8
FArray.py
FBag.py
FBinaryHeap.py
FDictionary.py
FString.py
SBundle.py
SData.py
SException.py
SMachPort.py
SNotification.py
SNumber.py
SSet.py
SURL.py
ache.py
etrics.py
bjc_lldb.py
bjc_runtime.py