llvm-project/clang/lib
Filipe Cabecinhas fe5e5afd53 [ubsan] Minimize size of data for type_mismatch (Redo of D19667)
Summary:
This patch makes the type_mismatch static data 7 bytes smaller (and it
ends up being 16 bytes smaller due to alignment restrictions, at least
on some x86-64 environments).

It revs up the type_mismatch handler version since we're breaking binary
compatibility. I will soon post a patch for the compiler-rt side.

Reviewers: rsmith, kcc, vitalybuka, pgousseau, gbedwell

Subscribers: llvm-commits

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

llvm-svn: 291236
2017-01-06 14:40:12 +00:00
..
ARCMigrate IntrusiveRefCntPtr -> std::shared_ptr for CompilerInvocationBase and CodeCompleteConsumer 2017-01-05 22:19:11 +00:00
AST Re-add objectsize function/incomplete type checks. 2017-01-03 23:35:19 +00:00
ASTMatchers Move VariantMatcher's Payload to std::shared_ptr rather than IntrusiveRefCntPtr 2017-01-05 18:51:54 +00:00
Analysis Extend -Wtautological-overlap-compare to more cases. 2017-01-04 00:46:30 +00:00
Basic [CUDA] Let NVPTX inherit the host's calling conventions. 2017-01-05 16:53:38 +00:00
CodeGen [ubsan] Minimize size of data for type_mismatch (Redo of D19667) 2017-01-06 14:40:12 +00:00
Driver [ToolChains] Use "static" instead of an anonymous namespace for a function. NFC 2017-01-05 16:52:47 +00:00
Edit Fix problems in "[OpenCL] Enabling the usage of CLK_NULL_QUEUE as compare operand." 2016-12-23 14:55:49 +00:00
Format clang-format: [JS] avoid indent after ambient function declarations. 2017-01-04 13:36:43 +00:00
Frontend shared_ptrify (from InclusiveRefCntPtr) HeaderSearchOptions 2017-01-06 01:04:46 +00:00
FrontendTool C++ Modules TS: add frontend support for building pcm files from module 2016-08-26 00:14:38 +00:00
Headers Add vec_insert4b and vec_extract4b functions to altivec.h 2017-01-05 21:43:30 +00:00
Index [index] Rename SymbolSubKind -> SymbolProperty, NFC. 2016-11-11 23:49:55 +00:00
Lex shared_ptrify (from InclusiveRefCntPtr) HeaderSearchOptions 2017-01-06 01:04:46 +00:00
Parse [ObjC] The declarator for a block literal should be a definition 2017-01-06 11:31:12 +00:00
Rewrite [analyzer] Re-apply r283092, attempt no.4, chunk no.4 (last) 2016-10-07 19:25:10 +00:00
Sema [CodeCompletion] Block property setters: Use dynamic priority heuristic 2017-01-06 12:00:44 +00:00
Serialization Simplify ASTReader ctor by using in-class initializers for many member variables 2017-01-05 18:45:45 +00:00
StaticAnalyzer IntrusiveRefCntPtr -> std::shared_ptr for CompilerInvocationBase and CodeCompleteConsumer 2017-01-05 22:19:11 +00:00
Tooling IntrusiveRefCntPtr -> std::shared_ptr for CompilerInvocationBase and CodeCompleteConsumer 2017-01-05 22:19:11 +00:00
CMakeLists.txt