llvm-project/lldb/test
Enrico Granata 2d061e20f6 Fix a bug where we were trying to reconstruct ivars of ObjC types from the runtime in "expression parser mode"
The expression parser mode allows UnknownAnyTy to make it all the way through, but that is bad for ivars because it means type layout fails horribly (as in, clang crashes)

This patch fixes the issue by using the "variables view mode", which masks UnknownAnyTy as empty-type, and pointer-to UnknownAnyTy as void*

This, in turn, allows LLDB to properly reconstruct ivars of IMP type in ObjC type - as per accompanying test case

Fixes rdar://21471326

llvm-svn: 240677
2015-06-25 19:17:04 +00:00
..
api Fix TestMultithreaded. 2015-05-29 00:01:15 +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 [TestBase.runCmd] Better error message when runCmd fails. 2015-05-27 22:27:41 +00:00
driver/batch_mode Refactored lldb executable name discovery 2015-05-18 19:39:03 +00:00
example Initial commit of a new testsuite feature: test categories. 2012-09-21 19:10:53 +00:00
expression_command Add a test for expression evaluation while inferior is blocked in a syscall 2015-06-17 23:28:55 +00:00
functionalities Enable TestInferiorCrashing and TestRecursiveInferior on android 2015-06-25 12:57:35 +00:00
help Fix help test cases after r226068 2015-01-20 15:13:01 +00:00
lang Fix a bug where we were trying to reconstruct ivars of ObjC types from the runtime in "expression parser mode" 2015-06-25 19:17:04 +00:00
linux/builtin_trap [TestBase.runCmd] Better error message when runCmd fails. 2015-05-27 22:27:41 +00:00
logging Replace sys.platform skips in tests with @skip decorators which check against remote platform. 2015-03-30 14:12:17 +00:00
macosx Check before using platform specific attributes. 2015-06-05 06:28:43 +00:00
make Fixed the logic to determine the TRIPLE_VERSION correctly when it isn't specified. 2015-06-02 21:42:31 +00:00
pexpect-2.4 Eliminate kernel warning when running tests on FreeBSD 2014-02-18 21:33:10 +00:00
plugins Append to CFLAGS_EXTRAS and LD_EXTRAS when building cmdline. 2015-04-16 09:18:12 +00:00
python_api Update TestPrintStackTraces XFAIL once more 2015-06-25 15:25:30 +00:00
settings Add support for displaying the language in the frame-format string. 2015-06-23 18:35:31 +00:00
source-manager [TestBase.runCmd] Better error message when runCmd fails. 2015-05-27 22:27:41 +00:00
terminal XFail pexpect tests for Windows hosts. 2015-06-09 17:39:27 +00:00
tools Expand result with type char* to string in -data-evaluate-expression 2015-06-25 11:10:12 +00:00
types Fix a variety of typos. 2015-06-18 05:27:05 +00:00
unittest2 Refactor test runner to print sub-test-case pass/fail rate. 2015-05-28 19:56:26 +00:00
warnings/uuid Replace sys.platform skips in tests with @skip decorators which check against remote platform. 2015-03-30 14:12:17 +00:00
.categories Initial commit of a new testsuite feature: test categories. 2012-09-21 19:10:53 +00:00
CMakeLists.txt Add a method to disable the Windows crash / assert dialogs. 2014-12-12 18:10:52 +00:00
Makefile Revert test/Makefile to state before r232205 2015-03-13 22:33:42 +00:00
README-TestSuite Comment discouraging writing command based test cases. 2015-03-18 23:16:58 +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
bench.py
blacklist.py
crashinfo.c Alignment fix 2014-01-08 03:14:18 +00:00
dosep.py Adding some more flakey tests to the XFAIL list 2015-06-22 20:54:14 +00:00
dotest.py Unique file names for TestStarted and TestFinished. 2015-06-05 21:08:24 +00:00
dotest_args.py dotest.py - fixed a bug displaying usage 2015-05-22 19:49:23 +00:00
lldbbench.py
lldbinline.py TestCModules - fixed for gcc 2015-05-04 06:26:13 +00:00
lldbpexpect.py Refactored lldb executable name discovery 2015-05-18 19:39:03 +00:00
lldbplatformutil.py Make several test case arm32 compatible 2015-04-17 09:37:06 +00:00
lldbtest.py Remove old local-only linux debugging code 2015-06-24 14:43:20 +00:00
lldbtest_config.py Refactored lldb executable name discovery 2015-05-18 19:39:03 +00:00
lldbutil.py Fix TestAttachDenied and TestChangeProcessGroup for remote Windows to Android. 2015-06-06 00:25:50 +00:00
lock.py dotest.py - debug feature that helps find dosep races 2015-05-21 19:09:29 +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 Fix a variety of typos. 2015-06-18 05:27:05 +00:00