diff options
| author | Johnny Chen <johnny.chen@apple.com> | 2011-09-24 04:51:43 +0000 |
|---|---|---|
| committer | Johnny Chen <johnny.chen@apple.com> | 2011-09-24 04:51:43 +0000 |
| commit | 5b94dc28b3f3ee939a871eb6583372244a44217f (patch) | |
| tree | 2acab433556ea758f3ed6718e6ec0ce3c43f4591 /lldb/scripts/Python/interface/SBModule.i | |
| parent | 1f88d2f53103f68cc13dcf6f0d98e33dc60458ab (diff) | |
SBSection supports iteration through its subsections, represented as SBSection as well.
SBModule supports an additional SBSection iteration, besides the original SBSymbol iteration.
Add docstrings and implement the two SBSection iteration protocols.
llvm-svn: 140449
Diffstat (limited to 'lldb/scripts/Python/interface/SBModule.i')
| -rw-r--r-- | lldb/scripts/Python/interface/SBModule.i | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/scripts/Python/interface/SBModule.i b/lldb/scripts/Python/interface/SBModule.i index 466fcfad7962..b85b8965024a 100644 --- a/lldb/scripts/Python/interface/SBModule.i +++ b/lldb/scripts/Python/interface/SBModule.i @@ -31,7 +31,8 @@ and rich comparion methods which allow the API program to use, if thisModule == thatModule: print 'This module is the same as that module' -to test module equality." +to test module equality. A module also contains object file sections, namely +SBSection. SBModule supports section iteration through section_iter()." ) SBModule; class SBModule { |
