[PATCH] D29530: [ubsan] Reduce null checking of C++ object pointers (PR27581)

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 9 04:42:03 PST 2017


arphaman added a comment.

Btw, you mentioned that 'this' must have been null-checked before the method is called. But what if it's called from some part of code that was compiled without `-fsanitize=null`? Wouldn't we still want at least one check to see if 'this' is null in a method?


https://reviews.llvm.org/D29530





More information about the cfe-commits mailing list