[Lldb-commits] [lldb] r134107 - in /lldb/trunk/test/python_api/default-constructor: sb_module.py sb_target.py

Johnny Chen johnny.chen at apple.com
Wed Jun 29 15:26:59 PDT 2011


Author: johnny
Date: Wed Jun 29 17:26:59 2011
New Revision: 134107

URL: http://llvm.org/viewvc/llvm-project?rev=134107&view=rev
Log:
Add fuzz calls for SBModule/SBTarget.FindGlobalVariables(...).

Modified:
    lldb/trunk/test/python_api/default-constructor/sb_module.py
    lldb/trunk/test/python_api/default-constructor/sb_target.py

Modified: lldb/trunk/test/python_api/default-constructor/sb_module.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/default-constructor/sb_module.py?rev=134107&r1=134106&r2=134107&view=diff
==============================================================================
--- lldb/trunk/test/python_api/default-constructor/sb_module.py (original)
+++ lldb/trunk/test/python_api/default-constructor/sb_module.py Wed Jun 29 17:26:59 2011
@@ -17,3 +17,4 @@
     obj.GetNumSymbols()
     obj.GetSymbolAtIndex(sys.maxint)
     obj.FindFunctions("my_func", 0xffffffff, True, lldb.SBSymbolContextList())
+    obj.FindGlobalVariables(lldb.SBTarget(), "my_global_var", 1)

Modified: lldb/trunk/test/python_api/default-constructor/sb_target.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/default-constructor/sb_target.py?rev=134107&r1=134106&r2=134107&view=diff
==============================================================================
--- lldb/trunk/test/python_api/default-constructor/sb_target.py (original)
+++ lldb/trunk/test/python_api/default-constructor/sb_target.py Wed Jun 29 17:26:59 2011
@@ -22,6 +22,7 @@
     obj.FindModule(filespec)
     contextlist = lldb.SBSymbolContextList()
     obj.FindFunctions("the_func", 0xff, True, contextlist)
+    obj.FindGlobalVariables("my_global_var", 1)
     address = lldb.SBAddress()
     obj.ResolveLoadAddress(0xffff, address)
     obj.ResolveSymbolContextForAddress(address, 0)





More information about the lldb-commits mailing list