llvm-project/lldb/packages/Python/lldbsuite/test/lang/c
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
..
anonymous Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
array_types Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
bitfields Allow IRInterpreter to deal with non-power-of-2 sized types to support some bitfield accesses. 2018-08-28 22:50:01 +00:00
blocks Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
conflicting-symbol [lit, windows] Disable a number of tests that are failing on Windows 2018-06-07 17:49:22 +00:00
const_variables Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
enum_types Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
find_struct_type Fix whitespace in the python test suite. 2018-07-27 22:20:59 +00:00
forward DebugNamesDWARFIndex: Implement DWARFDeclContext variant of GetTypes method 2018-06-12 16:50:01 +00:00
function_types Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
global_variables Remove redundant command. 2018-05-01 15:38:01 +00:00
inlines Add a sanity check for inline testcases. 2018-02-26 22:40:20 +00:00
modules Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
recurse
register_variables Adapt some tests to work with PPC64le architecture 2018-02-28 20:57:26 +00:00
set_values Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
shared_lib [test] Replace some references to Apple-internal bugs 2018-03-13 23:37:11 +00:00
shared_lib_stripped_symbols [test] Replace some references to Apple-internal bugs 2018-03-13 23:37:11 +00:00
step-target [lit, windows] Disable a number of tests that are failing on Windows 2018-06-07 17:49:22 +00:00
stepping Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
strings Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
struct_types *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
tls_globals Only throw -fPIC when building a shared library 2018-02-08 23:10:29 +00:00
typedef Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
unicode Change xfail to skipIf. The exact condition is really difficult to get 2018-08-23 21:08:30 +00:00
unions Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00