llvm-project/lldb/test
Enrico Granata 30f287fde5 Add a new way to bind a format to a type: by enum type
The "type format add" command gets a new flag --type (-t). If you pass -t <sometype>, upon fetching the value for an object of your type,
LLDB will display it as-if it was of enumeration type <sometype>
This is useful in cases of non-contiguous enums where there are empty gaps of unspecified values, and as such one cannot type their variables as the enum type,
but users would still like to see them as-if they were of the enum type (e.g. DWARF field types with their user-reserved ranges)

The SB API has also been improved to handle both types of formats, and a test case is added

llvm-svn: 198105
2013-12-28 08:44:02 +00:00
..
api Correctly set the working directory when launching processes for both local and remote targets. 2013-12-13 19:18:59 +00:00
arm_emulation Massive test suite cleanup to stop everyone from manually having to compute "mydir" inside each test case. 2013-12-10 23:19:29 +00:00
attic Initial commit of a new testsuite feature: test categories. 2012-09-21 19:10:53 +00:00
benchmarks Massive test suite cleanup to stop everyone from manually having to compute "mydir" inside each test case. 2013-12-10 23:19:29 +00:00
example Initial commit of a new testsuite feature: test categories. 2012-09-21 19:10:53 +00:00
expression_command Correctly set the working directory when launching processes for both local and remote targets. 2013-12-13 19:18:59 +00:00
functionalities Add a new way to bind a format to a type: by enum type 2013-12-28 08:44:02 +00:00
help Massive test suite cleanup to stop everyone from manually having to compute "mydir" inside each test case. 2013-12-10 23:19:29 +00:00
lang Correctly set the working directory when launching processes for both local and remote targets. 2013-12-13 19:18:59 +00:00
linux/builtin_trap Massive test suite cleanup to stop everyone from manually having to compute "mydir" inside each test case. 2013-12-10 23:19:29 +00:00
logging Massive test suite cleanup to stop everyone from manually having to compute "mydir" inside each test case. 2013-12-10 23:19:29 +00:00
macosx Correctly set the working directory when launching processes for both local and remote targets. 2013-12-13 19:18:59 +00:00
make Patch from Todd Fiala for http://llvm.org/bugs/show_bug.cgi?id=17961 2013-11-22 21:05:25 +00:00
pexpect-2.4 Switch '/bin/bash' to '/bin/sh' 2013-09-03 23:04:53 +00:00
plugins Fix test execution on FreeBSD versions other than 9.x 2013-07-25 13:24:34 +00:00
python_api Correctly set the working directory when launching processes for both local and remote targets. 2013-12-13 19:18:59 +00:00
settings Massive test suite cleanup to stop everyone from manually having to compute "mydir" inside each test case. 2013-12-10 23:19:29 +00:00
source-manager Correctly set the working directory when launching processes for both local and remote targets. 2013-12-13 19:18:59 +00:00
terminal Massive test suite cleanup to stop everyone from manually having to compute "mydir" inside each test case. 2013-12-10 23:19:29 +00:00
types Massive test suite cleanup to stop everyone from manually having to compute "mydir" inside each test case. 2013-12-10 23:19:29 +00:00
unittest2 Added a simple legend to the unit test 'dots' output, to aid understandability. 2013-09-25 20:47:51 +00:00
warnings/uuid Massive test suite cleanup to stop everyone from manually having to compute "mydir" inside each test case. 2013-12-10 23:19:29 +00:00
.categories Initial commit of a new testsuite feature: test categories. 2012-09-21 19:10:53 +00:00
CMakeLists.txt Unset CFLAGS/CXXFLAGS when running tests via cmake/make check targets 2013-05-13 21:41:35 +00:00
Makefile Unset CFLAGS/CXXFLAGS when running tests via cmake/make check targets 2013-05-13 21:41:35 +00:00
README-TestSuite Fix a typo. 2013-08-13 14:06:16 +00:00
argparse_compat.py Include a small argparse compatibility layer for Python < 2.7 2013-02-16 09:05:23 +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
crashinfo.c Fixed the size of the malloc buffer to match the size of the string that is memcpy'ed so we don't crash in a fiery ball of death when running the test suite on darwin. 2013-12-13 02:02:44 +00:00
dosep.ty Cleanup test output when run via cmake/make check targets 2013-05-13 21:37:02 +00:00
dotest.py Having binary files in a repository is not a good thing 2013-12-12 01:42:17 +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 Correctly set the working directory when launching processes for both local and remote targets. 2013-12-13 19:18:59 +00:00
lldbutil.py Add TestConcurrentEvents test for LLDB's handling of inferior threads 2013-07-09 00:08:01 +00:00
progress.py The new progress bar mode was losing us information compared to the old dots mode in that we would have no way of knowing about test failures (short of peeking into the test result directory.. and you're not supposed to peek!) 2013-02-09 00:37:07 +00:00
redo.py The new ReadStringFromMemory() API does not work correctly with NSStrings that have an explicit length and no NULL terminator 2013-04-23 20:05:05 +00:00