llvm-project/clang/test
Filipe Cabecinhas 178a8df660 UBSan: Fix alignment checks emitted in downcasts.
Summary:
UBSan was checking for alignment of the derived class on the pointer to
the base class, before converting. With some class hierarchies, this could
generate false positives.

Added test-case.

llvm-svn: 187948
2013-08-08 01:08:17 +00:00
..
ARCMT ObjectiveC migration: tweak setting of lifetime attribute 2013-08-06 18:06:23 +00:00
ASTMerge Changes so that a few tests do not fail when running under guarded malloc. 2013-07-12 22:30:03 +00:00
Analysis [analyzer] Don't process autorelease counts in synthesized function bodies. 2013-08-01 22:16:36 +00:00
CXX Started implementing variable templates. Top level declarations should be fully supported, up to some limitations documented as FIXMEs or TODO. Static data member templates work very partially. Static data member templates of class templates need particular attention... 2013-08-06 01:03:05 +00:00
CodeCompletion
CodeGen clang-cl: Support the run-time selection options (/MD, /MT et al.) 2013-08-08 00:17:41 +00:00
CodeGenCUDA Use kernel metadata to differentiate between kernel and device 2013-03-30 14:38:24 +00:00
CodeGenCXX UBSan: Fix alignment checks emitted in downcasts. 2013-08-08 01:08:17 +00:00
CodeGenObjC Fix test for Release builds. 2013-07-26 02:04:44 +00:00
CodeGenObjCXX Compute 'this' correctly for block in lambda. 2013-07-12 22:05:26 +00:00
CodeGenOpenCL Use kernel metadata to differentiate between kernel and device 2013-03-30 14:38:24 +00:00
Coverage Objective-C: When using super.prop, property should be 2013-03-11 22:26:33 +00:00
Driver clang-cl: Support the run-time selection options (/MD, /MT et al.) 2013-08-08 00:17:41 +00:00
FixIt A few small cleanups to r187504. Thanks to dblaikie for the assist. 2013-07-31 20:16:17 +00:00
Format Added -lines X:Y option to specify line range to process. This is a more human-friendly alternative to -offset and -length. 2013-07-18 22:54:56 +00:00
Frontend Indicate success for simple options when clang called with -cc1. 2013-08-07 12:54:47 +00:00
Headers CC1: Only parse command-line options that have the CC1Option flag. 2013-08-02 20:16:22 +00:00
Index [PCH] Fix a PCH serialization crash, with invalid code related to forward enum references. 2013-08-07 21:17:33 +00:00
Lexer Partially revert r186903. 2013-07-26 00:06:45 +00:00
Misc Partially revert r186903. 2013-07-26 00:06:45 +00:00
Modules When merging redeclaration chains across modules, if a declaration is visible 2013-08-02 01:09:12 +00:00
OpenMP OpenMP: basic support for #pragma omp parallel 2013-07-19 03:13:43 +00:00
PCH PR9992: Serialize and deserialize the token sequence for a function template in 2013-08-07 21:41:30 +00:00
Parser Parse: Don't consider attributes of broken member declarators 2013-08-01 04:22:55 +00:00
Preprocessor AArch64: initial NEON support 2013-08-01 09:23:19 +00:00
Rewriter Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
Sema AArch64: initial NEON support 2013-08-01 09:23:19 +00:00
SemaCUDA
SemaCXX Add a new warning to -Wloop-analysis to detect suspicious increments or 2013-08-06 21:31:54 +00:00
SemaObjC Implement C++'s restrictions on the type of an expression passed to a vararg 2013-08-05 18:49:43 +00:00
SemaObjCXX FIXME fix: improving diagnostics for template arguments deduction of class templates and explicit specializations 2013-07-19 23:00:19 +00:00
SemaOpenCL Added the attribute name to the err_attribute_wrong_number_arguments diagnostic for clarity; updated almost all of the affected test cases. 2013-07-23 19:30:11 +00:00
SemaTemplate Started implementing variable templates. Top level declarations should be fully supported, up to some limitations documented as FIXMEs or TODO. Static data member templates work very partially. Static data member templates of class templates need particular attention... 2013-08-06 01:03:05 +00:00
TableGen Revert "tg-fixits.td: fixup for Linux" 2013-01-11 02:37:47 +00:00
Tooling Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
Unit Propagate path to ASan/MSan symbolizer into test environment to produce useful reports on errors. 2013-04-04 07:41:20 +00:00
CMakeLists.txt Re-add clang-format tests to clang/test. 2013-03-25 09:14:25 +00:00
Makefile
TestRunner.sh
cxx-sections.data
lit.cfg lit.cfg: better check for MSYS 2013-08-05 20:14:43 +00:00
lit.site.cfg.in Add asan/msan to the list of available features in LIT test runner. Mark ASan-unfriendly test as XFAIL. 2013-03-26 08:28:18 +00:00
make_test_dirs.pl