llvm-project/lldb/packages/Python/lldbsuite/test
Frederic Riss ae6ca2fc3f Allow IRInterpreter to deal with non-power-of-2 sized types to support some bitfield accesses.
Summary:
For some bitfield patterns (like the one added by this commit), Clang will
generate non-regular data types like i24 or i48. This patch follows a
pretty naive approach of just bumping the type size to the next power of 2.
DataExtractor know how to deal with weird sizes. The operations on Scalar
do not know how to deal with those types though, so we have to legalize the
size when creating a Scalar.

Reviewers: jingham, clayborg

Subscribers: lldb-commits

Differential Revision: https://reviews.llvm.org/D51245

llvm-svn: 340880
2018-08-28 22:50:01 +00:00
..
android/platform Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
api Fix whitespace in the python test suite. 2018-07-27 22:20:59 +00:00
arm ObjectFileELF: Add support for arbitrarily named code sections 2018-04-30 13:23:47 +00:00
attic *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
benchmarks Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
driver/batch_mode Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
expression_command Fix broken builtin functions in the expression command 2018-08-23 20:40:45 +00:00
functionalities Respect platform sysroot when loading core files 2018-08-28 16:32:46 +00:00
help Fix the formatting for help on option value types. 2017-07-27 00:18:18 +00:00
issue_verification test infra: clear file-charged issues on rerun of file 2016-10-01 00:17:08 +00:00
lang Allow IRInterpreter to deal with non-power-of-2 sized types to support some bitfield accesses. 2018-08-28 22:50:01 +00:00
linux Revert "[LLDB] Support GNU-style compressed debug sections (.zdebug)" 2018-05-12 01:25:48 +00:00
logging Last batch of test-tree cleaning changes 2018-03-21 15:29:32 +00:00
macosx lldbtest.py: Unconditionally set the clang module cache path. 2018-08-21 16:13:37 +00:00
make Makefile.rules: Use an absolute path to the module cache directory. 2018-08-21 15:46:15 +00:00
plugins [LLDB] Unit tests basic support for OpenBSD 2018-06-04 11:59:18 +00:00
python_api [lldbsuite, windows] Mark tests as XFAIL on Windows or skip them 2018-08-02 21:26:19 +00:00
quit Allow specifying an exit code for the 'quit' command 2018-07-11 17:18:01 +00:00
sample_test Fix whitespace in the python test suite. 2018-07-27 22:20:59 +00:00
settings Fix whitespace in the python test suite. 2018-07-27 22:20:59 +00:00
source-manager [LLDB] Added syntax highlighting support 2018-08-02 00:30:15 +00:00
terminal Next batch of test-tree-cleaning changes 2018-03-15 13:47:09 +00:00
test_runner NFC: Fix some comment typos. 2018-05-28 04:22:07 +00:00
tools [vscode] Skip some of the vscode tests on Linux and fix one 2018-08-24 21:42:53 +00:00
types Make test sources compatible with android+libcxx+modules 2018-06-20 17:32:48 +00:00
warnings/uuid [dotest] Clean up test folder clean-up 2018-03-16 12:04:46 +00:00
.categories
Makefile
README-TestSuite Add a sample_test directory with simple starter 2017-03-01 20:25:48 +00:00
__init__.py
bench.py Remove obsolete file 2018-02-06 21:04:06 +00:00
concurrent_base.py Move "concurrent events" tests back into one folder 2018-02-27 02:01:30 +00:00
configuration.py [dotest] Make --test-subdir work with --no-multiprocess 2018-08-16 19:56:38 +00:00
darwin_log.py Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
decorators.py Fix whitespace in the python test suite. 2018-07-27 22:20:59 +00:00
dosep.py [dotest] Make --test-subdir work with --no-multiprocess 2018-08-16 19:56:38 +00:00
dotest.py [dotest] Make --test-subdir work with --no-multiprocess 2018-08-16 19:56:38 +00:00
dotest_args.py [dotest] Fix syntax error and typo. 2018-04-12 09:35:17 +00:00
lldb_pylint_helper.py
lldbbench.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
lldbcurses.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
lldbdwarf.py Fix whitespace in the python test suite. 2018-07-27 22:20:59 +00:00
lldbinline.py dotest: make inline tests compatible with -f 2018-06-05 10:58:44 +00:00
lldbpexpect.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
lldbplatform.py Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
lldbplatformutil.py Adapt some tests to work with PPC64le architecture 2018-02-28 20:57:26 +00:00
lldbtest.py lldbtest.py: Unconditionally set the clang module cache path. 2018-08-21 16:13:37 +00:00
lldbtest_config.py [test] Skip a test when using an out-of-tree debugserver 2018-03-08 19:46:39 +00:00
lldbutil.py Fix whitespace in the python test suite. 2018-07-27 22:20:59 +00:00
lock.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
redo.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
test_categories.py [testsuite] Implement a category to skip libstdcxx tests 2018-07-10 20:37:24 +00:00
test_result.py Remove vestigial remnants of the test crash info hook 2018-02-14 16:08:26 +00:00