Add fuzz calls for added API methods: FindFirstType(), FindTypes(), and GetSourceManager().

llvm-svn: 139857
This commit is contained in:
Johnny Chen 2011-09-15 21:58:36 +00:00
parent 82402a06f1
commit 81be205460
1 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,9 @@ def fuzz_obj(obj):
obj.FindModule(filespec)
contextlist = lldb.SBSymbolContextList()
obj.FindFunctions("the_func", 0xff, True, contextlist)
obj.FindFirstType("dont_care")
obj.FindTypes("dont_care")
obj.GetSourceManager()
obj.FindGlobalVariables("my_global_var", 1)
address = obj.ResolveLoadAddress(0xffff)
obj.ResolveSymbolContextForAddress(address, 0)