diff options
Diffstat (limited to 'lldb/test/python_api/default-constructor')
| -rw-r--r-- | lldb/test/python_api/default-constructor/sb_module.py | 3 | ||||
| -rw-r--r-- | lldb/test/python_api/default-constructor/sb_target.py | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/lldb/test/python_api/default-constructor/sb_module.py b/lldb/test/python_api/default-constructor/sb_module.py index d026be15506..771d326efee 100644 --- a/lldb/test/python_api/default-constructor/sb_module.py +++ b/lldb/test/python_api/default-constructor/sb_module.py @@ -15,7 +15,8 @@ def fuzz_obj(obj): obj.GetDescription(lldb.SBStream()) obj.GetNumSymbols() obj.GetSymbolAtIndex(sys.maxint) - obj.FindFunctions("my_func", 0xffffffff, True, lldb.SBSymbolContextList()) + sc_list = obj.FindFunctions("my_func") + sc_list = obj.FindFunctions("my_func", lldb.eFunctionNameTypeAny) obj.FindGlobalVariables(lldb.SBTarget(), "my_global_var", 1) for section in obj.section_iter(): print section diff --git a/lldb/test/python_api/default-constructor/sb_target.py b/lldb/test/python_api/default-constructor/sb_target.py index 19f453768b2..3e6c6f63056 100644 --- a/lldb/test/python_api/default-constructor/sb_target.py +++ b/lldb/test/python_api/default-constructor/sb_target.py @@ -20,8 +20,8 @@ def fuzz_obj(obj): obj.GetDebugger() filespec = lldb.SBFileSpec() obj.FindModule(filespec) - contextlist = lldb.SBSymbolContextList() - obj.FindFunctions("the_func", 0xff, True, contextlist) + sc_list = obj.FindFunctions("the_func") + sc_list = obj.FindFunctions("the_func", lldb.eFunctionNameTypeAny) obj.FindFirstType("dont_care") obj.FindTypes("dont_care") obj.FindFirstType(None) |

