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
/external/lldb/examples/summaries/cocoa/NSDate.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
/external/lldb/examples/summaries/cocoa/NSDate.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
/external/lldb/examples/summaries/cocoa/NSDate.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
/external/lldb/examples/summaries/cocoa/NSDate.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
/external/lldb/examples/summaries/cocoa/NSDate.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
/external/lldb/examples/summaries/cocoa/NSDate.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
/external/lldb/examples/summaries/cocoa/NSDate.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
/external/lldb/examples/summaries/cocoa/NSDate.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
/external/lldb/examples/summaries/cocoa/NSDate.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
/external/lldb/examples/summaries/cocoa/NSDate.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
/external/lldb/examples/summaries/cocoa/NSDate.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
/external/lldb/examples/summaries/cocoa/NSDate.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
/external/lldb/examples/summaries/cocoa/NSDate.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
/external/lldb/examples/summaries/cocoa/NSDate.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
/external/lldb/examples/summaries/cocoa/NSDate.py
|