llvm-project/lldb/test/python_api/default-constructor
Filipe Cabecinhas 6eb31e7391 Added a typemap and wrappers for SBInputReader callbacks
Now it's possible to use SBInputReader callbacks in Python.

We leak the callback object, unfortunately. A __del__ method can be added
to SBInputReader, but we have no way to check the callback function that
is on the reader. So we can't call Py_DECREF on it when we have our
PythonCallback function. One way to do it is to assume that reified
SBInputReaders always have a Python callback (and always call Py_DECREF).
Another one is to add methods or properties to SBInputReader (or make the
m_callback_function property public).

llvm-svn: 162356
2012-08-22 13:25:10 +00:00
..
TestDefaultConstructorForAPIObjects.py Add a test sequence which passes None to lldb.SBFileSpec(). LLDB should not crash. 2011-12-19 23:09:54 +00:00
sb_address.py Added to the public API to allow symbolication: 2011-09-24 00:52:29 +00:00
sb_block.py Add fuzz calls for SBBlock. 2011-06-24 00:21:36 +00:00
sb_breakpoint.py Add fuzz calls for various iterators, too. 2011-10-03 22:02:59 +00:00
sb_breakpointlocation.py Add fuzz call for SBBreakpointLocation.GetAddress(). 2011-10-07 23:54:04 +00:00
sb_broadcaster.py Add fuzz calls for SBStringList and add obj.Clear() calls for some files. 2011-06-28 23:29:14 +00:00
sb_communication.py Add a fuzz call for SBCommunication: obj.connect(None). 2011-12-19 21:47:43 +00:00
sb_compileunit.py Add fuzz calls for various iterators, too. 2011-10-03 22:02:59 +00:00
sb_debugger.py Fix a crash (_wrap_SBDebugger_SetInputFileHandle -> PyString_AsString) running the test suite. 2012-08-20 21:16:02 +00:00
sb_error.py Tes passing None to SetErrorString() and SetErrorStringWithFormat(). 2011-12-19 22:56:47 +00:00
sb_event.py The Python API does not need SBEvent::BroadcasterMatchesPtr() when SBEvent::BroadcasterMatchesRef() suffices. 2011-07-07 23:45:49 +00:00
sb_filespec.py Add fuzz calls for SBFileSpec. 2011-06-27 22:55:51 +00:00
sb_frame.py SBValue::Watch() and SBValue::WatchPointee() are now the official API for creating 2011-10-14 00:42:25 +00:00
sb_function.py Add fuzz calls for SBFrame and SBFunction. 2011-06-27 23:53:55 +00:00
sb_inputreader.py Added a typemap and wrappers for SBInputReader callbacks 2012-08-22 13:25:10 +00:00
sb_instruction.py Add fuzz calls for SBLineEntry. 2011-06-28 20:46:03 +00:00
sb_instructionlist.py Add fuzz calls for various iterators, too. 2011-10-03 22:02:59 +00:00
sb_lineentry.py Add fuzz calls for SBLineEntry. 2011-06-28 20:46:03 +00:00
sb_listener.py Add fuzz calls for SBListener. 2011-06-28 20:57:22 +00:00
sb_module.py Removed all of the "#ifndef SWIG" from the SB header files since we are using 2012-02-06 01:44:54 +00:00
sb_process.py Add SBProcess::GetNumSupportedHardwareWatchpoints() API and export it through the Python scripting bridge. 2012-05-23 22:34:34 +00:00
sb_section.py Add fuzz call for sub-section iteration for SBSection. 2011-10-03 22:43:06 +00:00
sb_stringlist.py Add fuzz call to SBStringList.AppendString(None). LLDB should not crash. 2011-12-20 00:49:06 +00:00
sb_symbol.py Add fuzz calls for SBSymbol and SBSymbolContext. 2011-06-28 23:38:38 +00:00
sb_symbolcontext.py Add fuzz calls for SBSymbol and SBSymbolContext. 2011-06-28 23:38:38 +00:00
sb_target.py rdar://problem/11584012 2012-06-04 23:19:54 +00:00
sb_thread.py Add fuzz calls for various iterators, too. 2011-10-03 22:02:59 +00:00
sb_type.py Add fuzz calls for various iterators, too. 2011-10-03 22:02:59 +00:00
sb_value.py rdar://problem/11584012 2012-06-04 23:19:54 +00:00
sb_valuelist.py Add fuzz calls for various iterators, too. 2011-10-03 22:02:59 +00:00
sb_watchpoint.py rdar://problem/11584012 2012-06-04 23:19:54 +00:00