[Lldb-commits] [lldb] r222594 - Just a few words to introduce the extra optional argument to Python summaries

Enrico Granata egranata at apple.com
Fri Nov 21 16:06:30 PST 2014


Author: enrico
Date: Fri Nov 21 18:06:30 2014
New Revision: 222594

URL: http://llvm.org/viewvc/llvm-project?rev=222594&view=rev
Log:
Just a few words to introduce the extra optional argument to Python summaries

Modified:
    lldb/trunk/www/varformats.html

Modified: lldb/trunk/www/varformats.html
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/www/varformats.html?rev=222594&r1=222593&r2=222594&view=diff
==============================================================================
--- lldb/trunk/www/varformats.html (original)
+++ lldb/trunk/www/varformats.html Fri Nov 21 18:06:30 2014
@@ -903,6 +903,10 @@ def function (valobj,internal_dict):<br/
             
             </p>
             
+            <p>Starting in SVN r222593, Python summary formatters can optionally define a third argument: <code>options</code><br/>
+              This is an object of type lldb.SBTypeSummaryOptions that can be passed into the formatter, allowing for a few customizations of the result.
+              The decision to adopt or not this third argument - and the meaning of options thereof - is within the individual formatters' writer.<br/>
+
             </div>
         </div>
 





More information about the lldb-commits mailing list