diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-08-05 20:17:27 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-08-05 20:17:27 +0000 |
commit | 36c5eb132761de243825daac55192cabcc2c3a7e (patch) | |
tree | 46405cdcc18699cf2333a00562ed41feafa20bae /lldb/scripts/Python/modify-python-lldb.py | |
parent | d633abebf687bdde36986213bd04c813e7d676f0 (diff) | |
download | llvm-36c5eb132761de243825daac55192cabcc2c3a7e.zip llvm-36c5eb132761de243825daac55192cabcc2c3a7e.tar.gz llvm-36c5eb132761de243825daac55192cabcc2c3a7e.tar.bz2 |
o modify-python-lldb.py:
Add the rich comparison methods (__eq__, __ne__) to SBType, too.
o lldbtest.py:
Add debug utility method TestBase.DebugSBType().
o test/python_api/type:
Add tests for exercising SBType/SBTypeList API, including the SBTarget.FindTypes(type_name)
API which returns a SBTypeList matching the type_name.
llvm-svn: 136975
Diffstat (limited to 'lldb/scripts/Python/modify-python-lldb.py')
-rw-r--r-- | lldb/scripts/Python/modify-python-lldb.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/scripts/Python/modify-python-lldb.py b/lldb/scripts/Python/modify-python-lldb.py index e716ee6..8a0edd7 100644 --- a/lldb/scripts/Python/modify-python-lldb.py +++ b/lldb/scripts/Python/modify-python-lldb.py @@ -1,5 +1,5 @@ # -# modify-lldb-python.py +# modify-python-lldb.py # # This script modifies the lldb module (which was automatically generated via # running swig) to support iteration and/or equality operations for certain lldb @@ -189,7 +189,8 @@ d = { 'SBBreakpoint': ('GetNumLocations', 'GetLocationAtIndex'), e = { 'SBAddress': ['GetFileAddress', 'GetModule'], 'SBBreakpoint': ['GetID'], 'SBFileSpec': ['GetFilename', 'GetDirectory'], - 'SBModule': ['GetFileSpec', 'GetUUIDString'] + 'SBModule': ['GetFileSpec', 'GetUUIDString'], + 'SBType': ['GetByteSize', 'GetName'] } def list_to_frag(list): |