Vedant Kumar a0c3671b20 [ubsan] Have -fsanitize=vptr emit a null check if -fsanitize=null isn't available
In r309007, I made -fsanitize=null a hard prerequisite for -fsanitize=vptr. I
did not see the need for the two checks to have separate null checking logic
for the same pointer. I expected the two checks to either always be enabled
together, or to be mutually compatible.

In the mailing list discussion re: r309007 it became clear that that isn't the
case. If a codebase is -fsanitize=vptr clean but not -fsanitize=null clean,
it's useful to have -fsanitize=vptr emit its own null check. That's what this
patch does: with it, -fsanitize=vptr can be used without -fsanitize=null.

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

llvm-svn: 309846
2017-08-02 18:10:31 +00:00
..
2016-02-02 12:39:08 +00:00
2013-12-03 14:06:23 +00:00
2013-12-03 14:16:22 +00:00
2016-11-16 19:31:44 +00:00
2016-11-09 23:10:44 +00:00
2016-12-01 20:16:56 +00:00
2014-05-20 17:12:51 +00:00
2013-11-08 03:06:45 +00:00
2013-08-20 22:01:44 +00:00
2016-07-12 16:56:33 +00:00
2016-02-20 09:23:41 +00:00
2014-03-02 18:46:05 +00:00
2013-12-12 16:07:11 +00:00
2016-07-29 19:43:28 +00:00
2014-09-26 06:28:25 +00:00
2014-12-22 18:13:07 +00:00
2016-03-22 17:10:07 +00:00
2017-06-02 07:14:34 +00:00
2016-06-21 03:43:11 +00:00
2013-08-22 18:45:40 +00:00
2013-12-13 20:49:58 +00:00
2016-06-14 21:02:05 +00:00