summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-07-25 23:41:08 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-07-25 23:41:08 +0000
commita4bc3a7091a6d470e070d7d61d5614e5b84cc172 (patch)
tree76ab92d5db4bbc3c55b8b560025e98ef07323491 /lldb/scripts/Python/interface
parent9becc53e3237344928331eacc3c440f4cfacd77d (diff)
downloadbcm5719-llvm-a4bc3a7091a6d470e070d7d61d5614e5b84cc172.tar.gz
bcm5719-llvm-a4bc3a7091a6d470e070d7d61d5614e5b84cc172.zip
Add cross references between the docstrings for regular SBValue iteration:
for child in value: # do something with the child value and SBValue.linked_list_iter(): for task in task_head.linked_list_iter('next', eol_test): # visit each item in the linked list llvm-svn: 136015
Diffstat (limited to 'lldb/scripts/Python/interface')
-rw-r--r--lldb/scripts/Python/interface/SBValue.i6
1 files changed, 5 insertions, 1 deletions
diff --git a/lldb/scripts/Python/interface/SBValue.i b/lldb/scripts/Python/interface/SBValue.i
index f6e610531b6..c037f1622a6 100644
--- a/lldb/scripts/Python/interface/SBValue.i
+++ b/lldb/scripts/Python/interface/SBValue.i
@@ -49,7 +49,11 @@ Name: rip Value: 0x0000000100000dae
Name: rflags Value: 0x0000000000000206
Name: cs Value: 0x0000000000000027
Name: fs Value: 0x0000000000000010
-Name: gs Value: 0x0000000000000048"
+Name: gs Value: 0x0000000000000048
+
+See also linked_list_iter() for another perspective on how to iterate through an
+SBValue instance which interprets the value object as representing the head of a
+linked list."
) SBValue;
class SBValue
{
OpenPOWER on IntegriCloud