llvm-project/clang/test
Kostya Serebryany 68c29da4c5 Do not insert asan paddings after fields that have flexible arrays.
Summary:
We should avoid a tail padding not only if the last field
has zero size but also if the last field is a struct with a flexible array.

If/when http://reviews.llvm.org/D5478 is committed,
this will also handle the case of structs with zero-sized arrays.

Reviewers: majnemer, rsmith

Reviewed By: rsmith

Subscribers: cfe-commits

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

llvm-svn: 220708
2014-10-27 19:34:10 +00:00
..
ARCMT Objective-C SDK modernization. import Foundation even 2014-10-09 22:04:27 +00:00
ASTMerge
Analysis [analyzer] Move the NewDeleteLeaks checker from CplusplusAlpha to Cplusplus package. 2014-10-21 12:41:36 +00:00
CXX PR21327 / C++ DR1652 / C++ DR73: comparing a past-the-end pointer for one 2014-10-21 23:01:04 +00:00
CodeCompletion
CodeGen Do not insert asan paddings after fields that have flexible arrays. 2014-10-27 19:34:10 +00:00
CodeGenCUDA Move all CUDA testing inputs to Inputs/ subdirectory inside the tests. 2014-04-28 22:21:28 +00:00
CodeGenCXX CodeGen: Don't form weak dllexport aliases 2014-10-24 22:05:27 +00:00
CodeGenObjC DebugInfo: Omit scopes in -gmlt to reduce metadata size (on disk and in memory) 2014-10-22 19:34:33 +00:00
CodeGenObjCXX test: correct an overzealous search-and-replace 2014-10-24 21:23:49 +00:00
CodeGenOpenCL Prune CRLF. 2014-10-27 12:37:26 +00:00
Coverage Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
CoverageMapping InstrProf: Avoid repeated linear searches in a hot path 2014-10-01 03:33:52 +00:00
Driver test: attempt to make test more hermetic 2014-10-25 20:49:12 +00:00
FixIt Revert r218925 - "Patch to warn if 'override' is missing" 2014-10-03 09:02:53 +00:00
Format Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
Frontend Support using sample profiles with partial debug info (driver) 2014-10-22 13:00:05 +00:00
Headers Update for llvm api change. 2014-10-15 15:44:25 +00:00
Index clang-format: Fix tests after recent change to ObjC block formatting. 2014-10-22 09:50:23 +00:00
Integration Split out header integration tests 2014-05-04 13:00:32 +00:00
Layout Test case B: fixed check rule 2014-10-21 08:16:42 +00:00
Lexer [Thumb] Clang thinks "char" is signed when using a thumb triple 2014-10-24 11:28:47 +00:00
Misc Prune CRLF. 2014-10-27 12:37:26 +00:00
Modules [modules] Support combining 'textual' with 'private'. 2014-10-24 20:23:01 +00:00
OpenMP [OPENMP] Codegen for 'private' clause in 'parallel' directive. 2014-10-21 03:16:40 +00:00
PCH Prune CRLF. 2014-10-27 12:37:26 +00:00
Parser c++11 patch to issue warning on missing 'override' on 2014-10-27 19:11:51 +00:00
Preprocessor Lex: Fix an invalid access into a SmallString 2014-10-25 11:40:40 +00:00
Profile InstrProf: Update for LLVM API change 2014-08-01 22:50:16 +00:00
Rewriter Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
Sema Prune CRLF. 2014-10-27 12:37:26 +00:00
SemaCUDA CUDA: mark the target of implicit intrinsics properly 2014-09-30 17:38:34 +00:00
SemaCXX c++11 patch to issue warning on missing 'override' on 2014-10-27 19:11:51 +00:00
SemaObjC Objective-C [Sema]. Fixes a bug in comparing qualified 2014-10-13 21:07:45 +00:00
SemaObjCXX Allow @synchronized to contextually convert a C++ object to an ObjC object pointer. 2014-08-12 16:20:36 +00:00
SemaOpenCL OpenCL: Emit global variables in the constant addr space as constant globals 2014-10-16 15:29:19 +00:00
SemaTemplate Fix the rest of PR21289: a pack expansion that we can't expand yet makes a 2014-10-17 20:56:14 +00:00
TableGen
Tooling clang/test: Introduce the feature "staticanalyzer" for --enable-clang-static-analyzer. 2014-07-16 12:05:45 +00:00
Unit Let test/Unit/lit.cfg add config.shlibdir to $PATH on DLL platforms like cygming. 2014-07-04 05:11:55 +00:00
VFS Revert "Revert "DI: LLVM schema change: fold constants into string"" 2014-10-03 20:01:52 +00:00
.clang-format
CMakeLists.txt Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
Makefile Fix makefile for debuginfo-tests execution. 2014-10-17 23:50:47 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:36:12 +00:00
lit.site.cfg.in Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
make_test_dirs.pl