llvm-project/lldb/test/types
Stephane Sezer 9901e9c6c8 Fix resolution of certain recursive types.
Summary:
If a struct type S has a member T that has a member that is a function that
returns a typedef of S* the respective field would be duplicated, which caused
an assert down the line in RecordLayoutBuilder. This patch adds a check that
removes the possibility of trying to resolve the same type twice within the
same callstack.

This commit also adds unit tests for these failures.

Fixes https://llvm.org/bugs/show_bug.cgi?id=20486.

Patch by Cristian Hancila.

Test Plan: Run unit tests.

Reviewers: clayborg spyffe

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D8561

llvm-svn: 234441
2015-04-08 21:52:45 +00:00
..
AbstractBase.py Tear down tests in reverse order from setting them up. 2015-03-26 16:43:25 +00:00
HideTestFailures.py Replace sys.platform skips in tests with @skip decorators which check against remote platform. 2015-03-30 14:12:17 +00:00
Makefile
TestFloatTypes.py Replace sys.platform skips in tests with @skip decorators which check against remote platform. 2015-03-30 14:12:17 +00:00
TestFloatTypesExpr.py Replace sys.platform skips in tests with @skip decorators which check against remote platform. 2015-03-30 14:12:17 +00:00
TestIntegerTypes.py Replace sys.platform skips in tests with @skip decorators which check against remote platform. 2015-03-30 14:12:17 +00:00
TestIntegerTypesExpr.py Replace sys.platform skips in tests with @skip decorators which check against remote platform. 2015-03-30 14:12:17 +00:00
TestRecursiveTypes.py Fix resolution of certain recursive types. 2015-04-08 21:52:45 +00:00
basic_type.cpp Add comment for build_and_run_with_source_atoms_expr() and remove redundant #include from basic_type.cpp. 2012-01-10 23:36:06 +00:00
char.cpp
double.cpp
float.cpp
int.cpp
long.cpp
long_long.cpp
recursive_type_1.cpp Fix resolution of certain recursive types. 2015-04-08 21:52:45 +00:00
recursive_type_2.cpp Fix resolution of certain recursive types. 2015-04-08 21:52:45 +00:00
recursive_type_main.cpp Fix resolution of certain recursive types. 2015-04-08 21:52:45 +00:00
short.cpp
unsigned_char.cpp
unsigned_int.cpp
unsigned_long.cpp
unsigned_long_long.cpp
unsigned_short.cpp