summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/test/python_api/default-constructor/sb_module.py1
-rw-r--r--lldb/test/python_api/default-constructor/sb_target.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/lldb/test/python_api/default-constructor/sb_module.py b/lldb/test/python_api/default-constructor/sb_module.py
index 6b2820e3cf3..87746df027b 100644
--- a/lldb/test/python_api/default-constructor/sb_module.py
+++ b/lldb/test/python_api/default-constructor/sb_module.py
@@ -17,3 +17,4 @@ def fuzz_obj(obj):
obj.GetNumSymbols()
obj.GetSymbolAtIndex(sys.maxint)
obj.FindFunctions("my_func", 0xffffffff, True, lldb.SBSymbolContextList())
+ obj.FindGlobalVariables(lldb.SBTarget(), "my_global_var", 1)
diff --git a/lldb/test/python_api/default-constructor/sb_target.py b/lldb/test/python_api/default-constructor/sb_target.py
index 0f94d2fc998..df55149bbad 100644
--- a/lldb/test/python_api/default-constructor/sb_target.py
+++ b/lldb/test/python_api/default-constructor/sb_target.py
@@ -22,6 +22,7 @@ def fuzz_obj(obj):
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)
OpenPOWER on IntegriCloud