teak-llvm/lldb/packages/Python/lldbsuite/test/lang/cpp
shafik fcaf5f6c01 [LLDB] Fix the handling of unnamed bit-fields when parsing DWARF
We ran into an assert when debugging clang and performing an expression on a class derived from DeclContext. The assert was indicating we were getting the offsets wrong for RecordDeclBitfields. We were getting both the size and offset of unnamed bit-field members wrong. We could fix this case with a quick change but as I extended the test suite to include more combinations we kept finding more cases that were being handled incorrectly. A fix that handled all the new cases as well as the cases already covered required a refactor of the existing technique.

Differential Revision: https://reviews.llvm.org/D72953
2020-01-23 14:46:24 -08:00
..
accelerator-table Speed up accelerator table lookups 2019-10-10 17:59:15 +00:00
auto [lldb][NFC] Migrate several tests to expect_expr 2020-01-16 13:45:30 +01:00
bitfields [LLDB] Fix the handling of unnamed bit-fields when parsing DWARF 2020-01-23 14:46:24 -08:00
bool [lldb][NFC] Migrate several tests to expect_expr 2020-01-16 13:45:30 +01:00
breakpoint_in_member_func_w_non_primitive_params [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
breakpoint-commands [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
call-function [lldb][NFC] Migrate several tests to expect_expr 2020-01-16 13:45:30 +01:00
chained-calls [lldb][NFC] Migrate several tests to expect_expr 2020-01-16 13:45:30 +01:00
char8_t [lldb][NFC] Migrate several tests to expect_expr 2020-01-16 13:45:30 +01:00
char1632_t [lldb][NFC] Migrate several tests to expect_expr 2020-01-16 13:45:30 +01:00
class_static [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
class_types [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
class-template-parameter-pack [dotest] Delete trivial inline test makefiles 2019-09-05 06:55:23 +00:00
const_this [dotest] Delete trivial inline test makefiles 2019-09-05 06:55:23 +00:00
diamond [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
dynamic-value [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
dynamic-value-same-basename [lldb][NFC] Remove all setUp overrides that only call the parent implementation 2019-12-13 12:34:49 +01:00
enum_types [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
exceptions [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
extern_c [dotest] Delete trivial inline test makefiles 2019-09-05 06:55:23 +00:00
frame-var-anon-unions [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
function_refs [dotest] Delete trivial inline test makefiles 2019-09-05 06:55:23 +00:00
function-template-parameter-pack [dotest] Delete trivial inline test makefiles 2019-09-05 06:55:23 +00:00
global_operators [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
global_variables [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
gmodules Canonicalize variable usage in testsuite Makefiles 2019-09-25 00:36:00 +00:00
gmodules-templates [dotest] Delete trivial inline test makefiles 2019-09-05 06:55:23 +00:00
incomplete-types Fix typos 2020-01-21 15:32:34 -08:00
inlines [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
lambdas Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
limit-debug-info [lldb][NFC] Migrate several tests to expect_expr 2020-01-16 13:45:30 +01:00
llvm-style [dotest] Delete trivial inline test makefiles 2019-09-05 06:55:23 +00:00
member-and-local-vars-with-same-name [lldb] Remove xpasses after pr44037 fix committed 2019-12-13 12:30:58 +05:00
modules-import [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
namespace [lldb/test] test_breakpoints_func_full from TestNamespace.NamespaceBreakpointTestCase is now passing on Windows 2020-01-14 11:15:48 -08:00
namespace_conflicts [dotest] Delete trivial inline test makefiles 2019-09-05 06:55:23 +00:00
namespace_definitions [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
nested-class-other-compilation-unit [lldb] Fix evaluation of nested classes with parent from other CU 2019-10-02 13:46:17 +00:00
nsimport [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
offsetof [lldb] Mark several tests as not dependent on debug info 2020-01-13 10:40:29 +01:00
operator-overload [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
operators [dotest] Delete trivial inline test makefiles 2019-09-05 06:55:23 +00:00
overloaded-functions [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
printf Expression eval lookup speedup by not returning methods in ManualDWARFIndex::GetFunctions 2020-01-14 14:59:56 +01:00
rvalue-references Canonicalize variable usage in testsuite Makefiles 2019-09-25 00:36:00 +00:00
scope [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
signed_types [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
static_members [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
static_methods [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
std-function-step-into-callable [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
stl [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
symbols [dotest] Delete trivial inline test makefiles 2019-09-05 06:55:23 +00:00
template [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
template-function [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
this [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
thread_local [lldb] Update hardcoded Makefile.rules inclusions. 2019-12-05 15:50:03 -08:00
trivial_abi [lldb][NFC] Remove all setUp overrides that only call the parent implementation 2019-12-13 12:34:49 +01:00
type_lookup [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
unicode-literals [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
unique-types [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
unsigned_types [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
virtual [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
virtual-overload [dotest] Delete trivial inline test makefiles 2019-09-05 06:55:23 +00:00
wchar_t [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00