- Dec 18, 2012
-
-
Enrico Granata authored
Tweaking a comment in the NSURL formatter for correctness - the code was doing the right thing, but the comment was highly misleading llvm-svn: 170441
-
- Dec 10, 2012
-
-
rdar://problem/12817233Enrico Granata authored
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 llvm-svn: 169751
-
- Oct 24, 2012
-
-
Enrico Granata authored
Changing the NSDate data formatter to use GetData().uint64[] instead of relying on SBValue.GetValueAsUnsigned() to reinterpret a double as a uint64_t llvm-svn: 166610
-
- Oct 06, 2012
-
-
- Sep 18, 2012
-
-
rdar://problem/11398693Enrico Granata authored
<rdar://problem/11398693> Making sure we do not attempt to run code on zombie objects when attempting to format them llvm-svn: 164156
-
Enrico Granata authored
llvm-svn: 164151
-
-
- Sep 04, 2012
-
-
-
Enrico Granata authored
llvm-svn: 163157
-
rdar://problem/11485744Enrico Granata authored
<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. llvm-svn: 163155
-
- Aug 01, 2012
-
-
Filipe Cabecinhas authored
llvm-svn: 161111
-
- Jul 13, 2012
-
-
- May 21, 2012
-
-
Enrico Granata authored
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 llvm-svn: 157209
-
- May 18, 2012
-
-
Enrico Granata authored
llvm-svn: 157066
-
- May 15, 2012
-
-
Enrico Granata authored
Fixing a bug where the summary for certain NSStrings was being returned as empty in spite of the string actually having a content llvm-svn: 156793
-
- Apr 26, 2012
-
-
Enrico Granata authored
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 llvm-svn: 155605
-
- Apr 25, 2012
-
-
Enrico Granata authored
llvm-svn: 155586
-
Enrico Granata authored
Returning data formatters to their previous working condition - Plus fixing an issue that was preventing Python oneliners from executing llvm-svn: 155563
-
Enrico Granata authored
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 llvm-svn: 155526
-
Greg Clayton authored
Enrico will follow this up with fixing the data formatter test cases that are failing. llvm-svn: 155514
-
- Apr 03, 2012
-
-
Enrico Granata authored
llvm-svn: 153911
-
Enrico Granata authored
llvm-svn: 153910
-
- Apr 02, 2012
-
-
Enrico Granata authored
llvm-svn: 153899
-
Enrico Granata authored
llvm-svn: 153878
-
- Mar 30, 2012
-
-
Enrico Granata authored
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 llvm-svn: 153712
-
- Mar 29, 2012
-
-
Enrico Granata authored
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 llvm-svn: 153676
-
Enrico Granata authored
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 :-) llvm-svn: 153624
-
- Mar 28, 2012
-
-
Enrico Granata authored
llvm-svn: 153559
-
- Mar 27, 2012
-
-
Enrico Granata authored
llvm-svn: 153541
-
- Mar 13, 2012
-
-
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
-
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
-
- Mar 09, 2012
-
-
Enrico Granata authored
Fixing a problem with the NSSet summary provider; plus, providing a further optimization to the whole Cocoa formatters infrastructure llvm-svn: 152423
-
Enrico Granata authored
llvm-svn: 152358
-
- Mar 07, 2012
-
-
Enrico Granata authored
llvm-svn: 152186
-
- Mar 05, 2012
-
-
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
-
- Mar 03, 2012
-
-
Enrico Granata authored
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 llvm-svn: 151962
-
- Mar 02, 2012
-
-
Enrico Granata authored
llvm-svn: 151928
-
Enrico Granata authored
NSTimeZone and CFTimeZonRef SEL and related types CFGregorianDate llvm-svn: 151866
-
- Mar 01, 2012
-
-
Enrico Granata authored
llvm-svn: 151831
-
Enrico Granata authored
(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 llvm-svn: 151826
-