summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/default-constructor/sb_module.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/python_api/default-constructor/sb_module.py')
-rw-r--r--lldb/test/python_api/default-constructor/sb_module.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/lldb/test/python_api/default-constructor/sb_module.py b/lldb/test/python_api/default-constructor/sb_module.py
index 5867a11f62f..990337a9f9a 100644
--- a/lldb/test/python_api/default-constructor/sb_module.py
+++ b/lldb/test/python_api/default-constructor/sb_module.py
@@ -17,3 +17,10 @@ def fuzz_obj(obj):
obj.GetSymbolAtIndex(sys.maxint)
obj.FindFunctions("my_func", 0xffffffff, True, lldb.SBSymbolContextList())
obj.FindGlobalVariables(lldb.SBTarget(), "my_global_var", 1)
+ for section in obj.section_iter():
+ print section
+ for symbol in obj.symbol_in_section_iter(lldb.SBSection()):
+ print symbol
+ for symbol in obj:
+ print symbol
+
OpenPOWER on IntegriCloud