[PATCH] D21695: [clang] Version support for UBSan handlers
Filipe Cabecinhas via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 24 12:05:14 PDT 2016
filcab created this revision.
filcab added reviewers: kcc, samsonov, rsmith.
filcab added a subscriber: cfe-commits.
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 14856 bytes
Desc: not available
More information about the cfe-commits