llvm-project/clang/lib
Filipe Cabecinhas 322ecd901b [clang] Version support for UBSan handlers
This adds a way for us to version any UBSan handler by itself.
The patch overrides D21289 for a better implementation (we're able to
rev up a single handler).

After this, then we can land a slight modification of D19667+D19668.

We probably don't want to keep all the versions in compiler-rt (maybe we
want to deprecate on one release and remove the old handler on the next
one?), but with this patch we will loudly fail to compile when mixing
incompatible handler calls, instead of silently compiling and then
providing bad error messages.

Reviewers: kcc, samsonov, rsmith, vsk

Subscribers: cfe-commits

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

llvm-svn: 289444
2016-12-12 16:18:40 +00:00
..
ARCMigrate Fix Clang-tidy readability-redundant-string-cstr warnings 2016-11-02 10:39:27 +00:00
AST Add two new AST nodes to represent initialization of an array in terms of 2016-12-12 02:53:20 +00:00
ASTMatchers [ASTMatcher] Add hasReplacementType matcher for SubstTemplateTypeParmType 2016-12-08 11:46:22 +00:00
Analysis [StaticAnalysis] Remove unnecessary parameter in CallGraphNode::addCallee. 2016-12-12 14:12:10 +00:00
Basic Add support for non-zero null pointer for C and OpenCL 2016-12-09 19:01:11 +00:00
CodeGen [clang] Version support for UBSan handlers 2016-12-12 16:18:40 +00:00
Driver [Driver] Fix finding multilib gcc install on Gentoo (with gcc-config) 2016-12-12 15:07:43 +00:00
Edit [OpenCL] Generate opaque type for sampler_t and function call for the initializer 2016-07-28 19:26:30 +00:00
Format clang-format: Separate out a language kind for ObjC. 2016-12-12 12:42:29 +00:00
Frontend [CrashReproducer] Setup a module collector callback for HeaderInclude 2016-12-11 04:27:31 +00:00
FrontendTool C++ Modules TS: add frontend support for building pcm files from module 2016-08-26 00:14:38 +00:00
Headers [AVX-512] Remove masking from 512-bit vpermil builtins. The backend now has versions without masking so wrap it with select. 2016-12-11 01:26:52 +00:00
Index [index] Rename SymbolSubKind -> SymbolProperty, NFC. 2016-11-11 23:49:55 +00:00
Lex [CrashReproducer] Collect headermap files 2016-12-11 04:27:28 +00:00
Parse Remove special error recovery for ::(id) 2016-12-09 21:10:43 +00:00
Rewrite [analyzer] Re-apply r283092, attempt no.4, chunk no.4 (last) 2016-10-07 19:25:10 +00:00
Sema Use function_ref to avoid allocation in std::function. NFC. 2016-12-12 14:41:19 +00:00
Serialization Add two new AST nodes to represent initialization of an array in terms of 2016-12-12 02:53:20 +00:00
StaticAnalyzer Add two new AST nodes to represent initialization of an array in terms of 2016-12-12 02:53:20 +00:00
Tooling Extend CompilationDatabase by a field for the output filename 2016-12-01 23:37:45 +00:00
CMakeLists.txt