llvm-project/lldb
Enrico Granata f2bbf717f7 Python summary strings:
- you can use a Python script to write a summary string for data-types, in one of
   three ways:
    -P option and typing the script a line at a time
    -s option and passing a one-line Python script
    -F option and passing the name of a Python function
   these options all work for the "type summary add" command
   your Python code (if provided through -P or -s) is wrapped in a function
   that accepts two parameters: valobj (a ValueObject) and dict (an LLDB
   internal dictionary object). if you use -F and give a function name,
   you're expected to define the function on your own and with the right
   prototype. your function, however defined, must return a Python string
 - test case for the Python summary feature
 - a few quirks:
  Python summaries cannot have names, and cannot use regex as type names
  both issues will be fixed ASAP
major redesign of type summary code:
 - type summary working with strings and type summary working with Python code
   are two classes, with a common base class SummaryFormat
 - SummaryFormat classes now are able to actively format objects rather than
   just aggregating data
 - cleaner code to print descriptions for summaries
the public API now exports a method to easily navigate a ValueObject hierarchy
New InputReaderEZ and PriorityPointerPair classes
Several minor fixes and improvements

llvm-svn: 135238
2011-07-15 02:26:42 +00:00
..
docs just a test for commit access - ignore this 2011-06-29 04:18:11 +00:00
examples Add usage docstring to SBValue.h, and minor update of docstrings for SBValueList.h. 2011-07-15 00:27:47 +00:00
include Python summary strings: 2011-07-15 02:26:42 +00:00
lib Link in the MCJIT. Fixes makefile build. 2011-05-24 01:54:03 +00:00
lldb.xcodeproj Python summary strings: 2011-07-15 02:26:42 +00:00
lldb.xcworkspace Adding a Xcode workspace for lldb. 2011-01-27 20:15:39 +00:00
resources Bumped Xcode project version for lldb-68. 2011-07-06 21:01:19 +00:00
scripts Python summary strings: 2011-07-15 02:26:42 +00:00
source Python summary strings: 2011-07-15 02:26:42 +00:00
test Python summary strings: 2011-07-15 02:26:42 +00:00
tools Added "command history" command to dump the command history. 2011-07-12 03:12:18 +00:00
utils Update usage comment. 2011-06-14 22:23:54 +00:00
www Python summary strings: 2011-07-15 02:26:42 +00:00
INSTALL.txt You'll need to be running Mac OS X to get lldb to build right now. 2010-06-09 07:29:26 +00:00
LICENSE.TXT test commit 2010-06-09 03:55:24 +00:00
Makefile Enable the "make test" rule in the root Makefile 2011-06-20 19:06:57 +00:00