forked from OSchip/llvm-project
Lastly, a few synthetic children classes for Cocoa are available
llvm-svn: 175591
This commit is contained in:
parent
710d88fd64
commit
e5631635bf
|
@ -1075,8 +1075,7 @@ def function (valobj,internal_dict):<br/>
|
|||
} <br/>
|
||||
</code> </p>
|
||||
|
||||
<p>Currently, in LLDB <a href="http://llvm.org/svn/llvm-project/lldb/trunk/">top of tree</a>, synthetic children providers are enabled for
|
||||
<code>std::vector<T></code>, <code>std::list<T></code> and <code>std::map<K,V></code> both in the version provided by <a href="http://gcc.gnu.org/libstdc++/">libstdcpp</a> and by <a href="http://libcxx.llvm.org/">libcxx</a>.</p>
|
||||
<p>LLDB has synthetic children providers for basic STL classes, both in the version provided by <a href="http://gcc.gnu.org/libstdc++/">libstdcpp</a> and by <a href="http://libcxx.llvm.org/">libcxx</a>. and for basic Cocoa containers (NSArray and NSDictionary).</p>
|
||||
|
||||
<p>Synthetic children extend summary strings by enabling a new special variable: <code>${svar</code>.<br/>
|
||||
This symbol tells LLDB to refer expression paths to the
|
||||
|
@ -1178,7 +1177,7 @@ def function (valobj,internal_dict):<br/>
|
|||
As a final sidenote on this, LLDB is currently able to provide a summary string for <code>NSString</code>
|
||||
that shows the content of the string, without requiring you to run code on the target
|
||||
process. This features requires you to enable the AppKit category (see below for details).
|
||||
The first implementation of this feature was a Python script (still available for reference at <a href="http://llvm.org/svn/llvm-project/lldb/trunk/examples/summaries/cocoa/CFString.py">).
|
||||
The first implementation of this feature was a Python script (still available for reference at <a href="http://llvm.org/svn/llvm-project/lldb/trunk/examples/summaries/cocoa/CFString.py">CFString.py</a>).
|
||||
However, this is out of sync with the current implementation of the NSString formatter (which is a C++ function compiled into the LLDB core).
|
||||
</p>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue