hanchenye-llvm-project/clang/lib
David Majnemer 7f980d842c [MS ABI] Don't crash when zero-initializing a vbase which contains a vbase
Bases can be zero-initialized: the storage is zero-initialized before
the base constructor is run.
The MS ABI has a quirk where base VBPtrs are not installed by the
base constructor but by the most derived class.  In particular, they are
installed before the base constructor is run.
The derived constructor must be careful to zero-initialize only the bits
of the class which haven't already been populated by virtual base
pointers.

While we correctly avoided this scenario, we didn't handle the case
where the base class has virtual bases which have virtual bases.

llvm-svn: 269271
2016-05-12 03:51:52 +00:00
..
ARCMigrate Fix some Clang-tidy readability-redundant-control-flow warnings; other minor fixes. 2016-02-10 19:11:58 +00:00
AST Preserve the FoundDecl when performing overload resolution for constructors. 2016-05-11 20:37:46 +00:00
ASTMatchers [ASTMatchers] New matcher forFunction 2016-05-04 11:59:39 +00:00
Analysis Enable support for __float128 in Clang and enable it on pertinent platforms 2016-05-09 08:52:33 +00:00
Basic [VFS] Reapply r269100: Reconstruct the VFS overlay tree for more accurate lookup 2016-05-12 03:23:36 +00:00
CodeGen [MS ABI] Don't crash when zero-initializing a vbase which contains a vbase 2016-05-12 03:51:52 +00:00
Driver Embed bitcode in object file (clang cc1 part) 2016-05-11 16:26:03 +00:00
Edit Remove autoconf support 2016-01-26 21:30:40 +00:00
Format Enable support for __float128 in Clang and enable it on pertinent platforms 2016-05-09 08:52:33 +00:00
Frontend Embed bitcode in object file (clang cc1 part) 2016-05-11 16:26:03 +00:00
FrontendTool Make it possible for AST plugins to enable themselves by default 2016-03-15 12:51:40 +00:00
Headers [clang][AVX512] completing missing set intrinsics 2016-05-11 11:41:29 +00:00
Index Enable support for __float128 in Clang and enable it on pertinent platforms 2016-05-09 08:52:33 +00:00
Lex Enable support for __float128 in Clang and enable it on pertinent platforms 2016-05-09 08:52:33 +00:00
Parse [MSVC] Implementation of __unaligned as a proper type qualifier 2016-05-11 18:38:21 +00:00
Rewrite Remove use of builtin comma operator. 2016-02-18 22:34:54 +00:00
Sema Preserve the FoundDecl when performing overload resolution for constructors. 2016-05-11 20:37:46 +00:00
Serialization [OpenMP] Parse+Sema for '#pragma omp declare target' syntax version 4.5 2016-05-09 14:59:13 +00:00
StaticAnalyzer [analyzer] Fix crash in ObjCGenericsChecker 2016-05-11 20:28:41 +00:00
Tooling [tooling] FixItHint Tooling refactoring 2016-05-11 14:31:39 +00:00
CMakeLists.txt