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. llvm-svn: 132807
This commit is contained in:
@@ -88,7 +88,8 @@ d = { 'SBBreakpoint': ('GetNumLocations', 'GetLocationAtIndex'),
|
||||
#
|
||||
# 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']
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user