teak-llvm/lldb/packages/Python/lldbsuite/test/expression_command
Ulrich Weigand 377e4213e1 Fixes for platforms that default to unsigned char
This fixes several test case failure on s390x caused by the fact that
on this platform, the default "char" type is unsigned.

- In ClangASTContext::GetBuiltinTypeForEncodingAndBitSize we should return
  an explicit *signed* char type for encoding eEncodingSint and bit size 8,
  instead of the default platform char type (which may be unsigned).
  This fix matches existing code in ClangASTContext::GetIntTypeFromBitSize,
  and fixes the TestClangASTContext.TestBuiltinTypeForEncodingAndBitSize
  unit test case.

- The test/expression_command/char/TestExprsChar.py test case is known to
  fail on platforms defaulting to unsigned char (pr23069), and just needs
  to be xfailed on s390x like on arm.

- The test/functionalities/watchpoint/watchpoint_on_vectors/main.c test
  case defines a vector of "char" and implicitly assumes to be signed.
  Use an explicit "signed char" instead.

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

llvm-svn: 266309
2016-04-14 14:30:12 +00:00
..
anonymous-struct Add regression test for expressions calling functions taking anonymous struct typedef arguments 2016-03-15 13:02:11 +00:00
call-function Remove expectedFailureFreeBSD decorator 2016-02-19 19:25:03 +00:00
call-restarts Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
call-throws Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
char Fixes for platforms that default to unsigned char 2016-04-14 14:30:12 +00:00
expr-in-syscall Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
fixits Figure out what the fixed expression is, and print it. Added another target setting to 2016-03-29 22:00:08 +00:00
formatters Remove expectedFailureFreeBSD decorator 2016-02-19 19:25:03 +00:00
issue_11588 Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
macros Remove decorators related to debug info types. 2016-02-09 21:36:23 +00:00
options [test] Fix comment. 2015-11-12 00:43:22 +00:00
persist_objc_pointeetype Move some of the common decorators to decorators.py. 2016-02-04 18:03:01 +00:00
persistent_ptr_update Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
persistent_types Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
persistent_variables Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
po_verbosity Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
radar_8638051 Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
radar_9531204 Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
radar_9673664 Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
test Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
timeout mark TestCallWithTimeout.py XFAIL on macosx. 2016-04-01 18:42:45 +00:00
top-level Expose top-level Clang expressions via the command line and the API. 2016-03-28 21:20:05 +00:00
two-files Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
.categories