diff options
Diffstat (limited to 'lldb/test/python_api/module_section/TestModuleAndSection.py')
-rw-r--r-- | lldb/test/python_api/module_section/TestModuleAndSection.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/python_api/module_section/TestModuleAndSection.py b/lldb/test/python_api/module_section/TestModuleAndSection.py index cecc5ab61f2..671af56e836 100644 --- a/lldb/test/python_api/module_section/TestModuleAndSection.py +++ b/lldb/test/python_api/module_section/TestModuleAndSection.py @@ -45,14 +45,14 @@ class ModuleAndSectionAPIsTestCase(TestBase): print sec print INDENT + "Number of subsections: %d" % sec.GetNumSubSections() if sec.GetNumSubSections() == 0: - for sym in symbol_iter(exe_module, sec): + for sym in exe_module.symbol_in_section_iter(sec): print INDENT + repr(sym) print INDENT + "symbol type: %s" % symbol_type_to_str(sym.GetType()) else: for subsec in sec: print INDENT + repr(subsec) # Now print the symbols belonging to the subsection.... - for sym in symbol_iter(exe_module, subsec): + for sym in exe_module.symbol_in_section_iter(subsec): print INDENT2 + repr(sym) print INDENT2 + "symbol type: %s" % symbol_type_to_str(sym.GetType()) |