diff options
author | Enrico Granata <egranata@apple.com> | 2014-10-28 21:13:31 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2014-10-28 21:13:31 +0000 |
commit | 90ff6428c92fd5cea4ad91f9087f5988ec1feb9c (patch) | |
tree | a78da190575b00bcfeebe67fb582297feadffe5f | |
parent | cb955ae1a55f9c75e4cb3b3c253c9f5b757b3434 (diff) | |
download | bcm5719-llvm-90ff6428c92fd5cea4ad91f9087f5988ec1feb9c.tar.gz bcm5719-llvm-90ff6428c92fd5cea4ad91f9087f5988ec1feb9c.zip |
Add a few words of documentation for the the $\{var.script:\} feature
llvm-svn: 220823
-rwxr-xr-x | lldb/www/varformats.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lldb/www/varformats.html b/lldb/www/varformats.html index 18e2ada29fb..a36c005824a 100755 --- a/lldb/www/varformats.html +++ b/lldb/www/varformats.html @@ -562,6 +562,25 @@ </tbody> </table> + <p>Starting with SVN r220821, you can also specify ${var.script:<i>pythonFuncName</i>}. + <br/>It is expected that the function name you use specifies a function whose signature is the same + as a Python summary function. The return string from the function will be placed verbatim in the output. + <br/><br/> + You cannot use element access, or formatting symbols, in combination with this syntax. For example the following: + <table class="stats" width="620" cellspacing="0"> + <td class="content"> + ${var.element[0].script:myFunctionName%@} + </td> + <table> + is not valid and will cause the summary to fail to evaluate. + </p> + + </div> + </div> + <div class="post"> + <h1 class="postheader">Element inlining</h1> + <div class="postcontent"> + <p>Option <code>--inline-children</code> (<code>-c</code>) to <code>type summary add</code> tells LLDB not to look for a summary string, but instead to just print a listing of all the object's children on |