Add SBTarget::GetLastCreatedWatchpointLocation() API and export to the Python interface.
Also add rich comparison methods (__eq__ and __ne__) for SBWatchpointLocation. Modify TestWatchpointLocationIter.py to exercise the new APIs. Add fuzz testings for the recently added SBTarget APIs related to watchpoint manipulations. llvm-svn: 140633
This commit is contained in:
@@ -199,11 +199,12 @@ d = { 'SBBreakpoint': ('GetNumLocations', 'GetLocationAtIndex'),
|
||||
#
|
||||
# This dictionary defines a mapping from classname to equality method name(s).
|
||||
#
|
||||
e = { 'SBAddress': ['GetFileAddress', 'GetModule'],
|
||||
'SBBreakpoint': ['GetID'],
|
||||
'SBFileSpec': ['GetFilename', 'GetDirectory'],
|
||||
'SBModule': ['GetFileSpec', 'GetUUIDString'],
|
||||
'SBType': ['GetByteSize', 'GetName']
|
||||
e = { 'SBAddress': ['GetFileAddress', 'GetModule'],
|
||||
'SBBreakpoint': ['GetID'],
|
||||
'SBWatchpointLocation': ['GetID'],
|
||||
'SBFileSpec': ['GetFilename', 'GetDirectory'],
|
||||
'SBModule': ['GetFileSpec', 'GetUUIDString'],
|
||||
'SBType': ['GetByteSize', 'GetName']
|
||||
}
|
||||
|
||||
def list_to_frag(list):
|
||||
|
||||
Reference in New Issue
Block a user