hanchenye-llvm-project/lldb/test
Filipe Cabecinhas c5041918dd Added SBDebugger's log callbacks to Python-land
- Tweaked a parameter name in SBDebugger.h so my typemap will catch it;
- Added a SBDebugger.Create(bool, callback, baton) to the swig interface;
- Added SBDebugger.SetLoggingCallback to the swig interface;
- Added a callback utility function for log callbacks;
- Guard against Py_None on both callback utility functions;

- Added a FIXME to the SBDebugger API test;
- Added a __del__() stub for SBDebugger.

We need to be able to get both the log callback and baton from an
SBDebugger if we want to protect against memory leaks (or make the user
responsible for holding another reference to the callback).
Additionally, it's impossible to revert from a callback-backed log
mechanism to a file-backed log mechanism.

llvm-svn: 162633
2012-08-25 00:29:07 +00:00
..
api/check_public_api_headers Make the test suite work again on Mac OS X without the LLDB_BUILD_TYPE env var 2012-05-30 05:40:23 +00:00
arm_emulation <rdar://problem/11358639> 2012-05-08 01:45:38 +00:00
attic Move two files to the 'attic'. 2010-10-05 00:08:08 +00:00
benchmarks Test file renaming. 2012-04-23 17:54:40 +00:00
example Changed the test case class names to be noun-like instead of verb-like. 2010-09-01 19:59:58 +00:00
expression_command Make issue_11588/Test11588 work with a recent swig that converts ints to PyLongObjects 2012-05-11 20:37:34 +00:00
functionalities rdar://problem/11811338 2012-08-24 18:15:45 +00:00
help Reimplemented the code that backed the "settings" in lldb. There were many issues with the previous implementation: 2012-08-22 17:17:09 +00:00
lang <rdar://problem/11505459> Stripping off the object's type from the output of the 'po' command 2012-08-09 16:51:25 +00:00
logging Second batch of adding @dsym_test/@dwarf_test decorators to existing test cases. 2012-04-06 19:54:10 +00:00
macosx <rdar://problem/11358639> 2012-05-08 01:45:38 +00:00
make Add a suffix rule for compiling objc++ files and a sample directory under test/lang/objcxx. 2012-04-24 23:05:07 +00:00
pexpect-2.4 Add pexpect-2.4 (a pure Python module for controlling and automating other programs) to the test directory. 2011-03-11 20:13:06 +00:00
plugins Fix the wrong comment in TestUUIDMismatchWarnings.py. 2012-08-20 22:36:58 +00:00
python_api Added SBDebugger's log callbacks to Python-land 2012-08-25 00:29:07 +00:00
settings Reimplemented the code that backed the "settings" in lldb. There were many issues with the previous implementation: 2012-08-22 17:17:09 +00:00
source-manager Make git not delete some empty dirs. Otherwise a git checkout would be different from an svn checkout. 2012-07-25 10:34:53 +00:00
terminal Continue the cleanup started on r158737 2012-06-20 10:13:40 +00:00
types First step to make the test suite runnable for remote platforms. 2012-04-13 20:40:52 +00:00
unittest2
warnings/uuid rdar://problem/11324515 2012-08-22 00:18:43 +00:00
Makefile Update the Makefile to expect the lldb package 2012-05-29 14:06:40 +00:00
README-TestSuite Add some descriptions about the default executable name being 'a.out' and can be overwritten 2011-07-28 21:15:39 +00:00
bench-history Add bench entries. 2011-11-29 19:13:38 +00:00
bench.py Establish a baseline for bench.py score by using a fixed lldb executable as the 2011-10-26 22:58:02 +00:00
blacklist.py Don't set DYLD_LIBRARY_PATH in the Python environment (which will get passed down to 2011-08-03 17:41:28 +00:00
dosep.ty Remove invalid docstring (due to cut-and-paste error). 2011-11-16 18:48:48 +00:00
dotest.py Fix wrong directory pathname. 2012-08-22 17:53:02 +00:00
lldbbench.py Tests decorated with @benchmarks_test do not participate in the remote-macosx test suite run. 2012-04-19 23:50:00 +00:00
lldbtest.py Silence the "Command ... failed!" message when not running in trace mode. 2012-08-01 19:56:04 +00:00
lldbutil.py Fix a wrong variable name. 2012-07-06 16:20:13 +00:00
redo.py Take '--help' as well as '-h' as hint to emit the usage output. 2012-08-23 23:45:26 +00:00