History log of /external/lldb/examples/summaries/cocoa/NSMachPort.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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
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
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
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
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
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
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
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
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