summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/module_section
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-04-04 10:13:59 +0000
committerPavel Labath <pavel@labath.sk>2019-04-04 10:13:59 +0000
commite090389c4ae0ab772bf0d542dcce5ca5f7bf0ce2 (patch)
tree0fa52405a50baf7cdb99ce1779e7d910aac7e20d /lldb/packages/Python/lldbsuite/test/python_api/module_section
parent5ad10f4df967f3996cc00bab5c1570f2bc8ee427 (diff)
downloadbcm5719-llvm-e090389c4ae0ab772bf0d542dcce5ca5f7bf0ce2.tar.gz
bcm5719-llvm-e090389c4ae0ab772bf0d542dcce5ca5f7bf0ce2.zip
modify-python-lldb.py: (Re)move __len__ and __iter__ support
Summary: This patch moves the modify-python-lldb code for adding new functions to the SBModule class into the SBModule interface file. As this is the last class using this functionality, I also remove all support for this kind of modifications from modify-python-lldb.py. Reviewers: amccarth, clayborg, jingham Subscribers: zturner, lldb-commits Differential Revision: https://reviews.llvm.org/D60195 llvm-svn: 357680
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/module_section')
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/module_section/TestModuleAndSection.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/module_section/TestModuleAndSection.py b/lldb/packages/Python/lldbsuite/test/python_api/module_section/TestModuleAndSection.py
index 65b159974c0..09dfcc5895a 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/module_section/TestModuleAndSection.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/module_section/TestModuleAndSection.py
@@ -45,6 +45,7 @@ class ModuleAndSectionAPIsTestCase(TestBase):
print("Exe module: %s" % str(exe_module))
print("Number of sections: %d" % exe_module.GetNumSections())
+ print("Number of symbols: %d" % len(exe_module))
INDENT = ' ' * 4
INDENT2 = INDENT * 2
for sec in exe_module.section_iter():
OpenPOWER on IntegriCloud