2 "Represents a list of symbol context object. See also SBSymbolContext.
4 For example (from test/python_api/target/TestTargetAPI.py), ::
6 def find_functions(self, exe_name):
7 '''Exercise SBTarget.FindFunctions() API.'''
8 exe = os.path.join(os.getcwd(), exe_name)
10 # Create a target by the debugger.
11 target = self.dbg.CreateTarget(exe)
12 self.assertTrue(target, VALID_TARGET)
14 list = lldb.SBSymbolContextList()
15 num = target.FindFunctions('c', lldb.eFunctionNameTypeAuto, False, list)
16 self.assertTrue(num == 1 and list.GetSize() == 1)
19 self.assertTrue(sc.GetModule().GetFileSpec().GetFilename() == exe_name)
20 self.assertTrue(sc.GetSymbol().GetName() == 'c')"
21 ) lldb
::SBSymbolContextList
;