Add rich comparison methods for the SBAddress object.
If two SBAddress's have the same module and file address, they are considered equal.
Add a test snippet 'sa1 == sa2' to exercise the rich comparison methods for SBAddress.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132807 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/scripts/Python/modify-python-lldb.py b/scripts/Python/modify-python-lldb.py
index 4f198c8..efd4fb6 100644
--- a/scripts/Python/modify-python-lldb.py
+++ b/scripts/Python/modify-python-lldb.py
@@ -88,7 +88,8 @@
#
# This dictionary defines a mapping from classname to equality method name(s).
#
-e = { 'SBBreakpoint': ['GetID'],
+e = { 'SBAddress': ['GetFileAddress', 'GetModule'],
+ 'SBBreakpoint': ['GetID'],
'SBFileSpec': ['GetFilename', 'GetDirectory'],
'SBModule': ['GetFileSpec', 'GetUUIDString']
}