llvm-project/clang/lib
Peter Collingbourne 6010880bd1 IRGen: When performing CFI checks, load vtable pointer from vbase when necessary.
Under the Microsoft ABI, it is possible for an object not to have
a virtual table pointer of its own if all of its virtual functions
were introduced by virtual bases. In that case, we need to load the
vtable pointer from one of the virtual bases and perform the type
check using its type.

Differential Revision: https://reviews.llvm.org/D41036

llvm-svn: 320638
2017-12-13 21:53:04 +00:00
..
ARCMigrate Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. 2017-06-03 06:23:19 +00:00
AST Fix ICE when __has_unqiue_object_representations called with invalid decl 2017-12-12 16:02:06 +00:00
ASTMatchers Remove creation of out-of-bounds value of enumeration type (resulting in UB). 2017-12-08 23:29:59 +00:00
Analysis [Analysis] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-12-07 21:55:09 +00:00
Basic [OPENMP] Initial codegen for `target teams distribute simd` directive. 2017-12-13 19:45:06 +00:00
CodeGen IRGen: When performing CFI checks, load vtable pointer from vbase when necessary. 2017-12-13 21:53:04 +00:00
CrossTU [CrossTU] Fix handling of Cross Translation Unit directory path 2017-10-27 12:53:37 +00:00
Driver [Hexagon] Add front-end support for Hexagon V65 2017-12-13 13:48:07 +00:00
Edit [clang] Fix format specifiers fixits for nested macros 2017-06-20 20:46:58 +00:00
Format [clang-format] Improve ObjC headers detection. 2017-12-12 13:43:59 +00:00
Frontend [Sema] Ignore decls in namespaces when global decls are not wanted. 2017-12-13 10:26:49 +00:00
FrontendTool [CMake] Use #cmakedefine01 for CLANG_ENABLE_(ARCMT|OBJC_REWRITER|STATIC_ANALYZER) 2017-10-18 05:21:17 +00:00
Headers In stdbool.h, define bool, false, true only in gnu++98 2017-12-08 08:28:08 +00:00
Index [Index] Add setPreprocessor member to IndexDataConsumer. 2017-12-07 11:04:24 +00:00
Lex Hardware-assisted AddressSanitizer (clang part). 2017-12-09 01:32:07 +00:00
Parse Allow conditions to be decomposed with structured bindings 2017-12-07 07:03:15 +00:00
Rewrite [Analyzer] Add support for displaying cross-file diagnostic paths in HTML output 2017-08-03 18:12:22 +00:00
Sema [OPENMP] Initial codegen for `target teams distribute simd` directive. 2017-12-13 19:45:06 +00:00
Serialization Revert r320230 to fix buildbots. 2017-12-09 03:02:21 +00:00
StaticAnalyzer [analyzer] StackAddrEscape: For now, disable the new async escape checks. 2017-12-12 02:59:09 +00:00
Tooling [Tooling] Acknowledge that many CompilationDatabases don't support enumeration. 2017-11-24 12:13:55 +00:00
CMakeLists.txt Add Cross Translation Unit support library 2017-09-22 11:11:01 +00:00