Skip to content
  1. Mar 30, 2012
  2. Mar 13, 2012
    • Enrico Granata's avatar
      The Cocoa formatters now provide error messages for many of the common... · 3f1052b7
      Enrico Granata authored
      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
      
      llvm-svn: 152673
      3f1052b7
    • Enrico Granata's avatar
      Changed several of the Cocoa formatters to match the output style that Xcode... · 8c69c96d
      Enrico Granata authored
      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
      
      llvm-svn: 152592
      8c69c96d
  3. Mar 05, 2012
    • Enrico Granata's avatar
      Several performance-oriented changes to the introspecting data formatters: · cfdafa37
      Enrico Granata authored
       (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
      
      llvm-svn: 152052
      cfdafa37
  4. Feb 29, 2012
    • Enrico Granata's avatar
      This commit: · 7bc0ec3a
      Enrico Granata authored
       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
      
      llvm-svn: 151703
      7bc0ec3a
  5. Feb 24, 2012
    • Enrico Granata's avatar
      This patch provides a set of formatters for most of the commonly used Cocoa classes. · eb4a4798
      Enrico Granata authored
      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.
      
      llvm-svn: 151300
      eb4a4798
Loading