[ubsan] nonnull and returns_nonnull sanitization
Chandler Carruth
chandlerc at google.com
Tue Jul 1 18:41:56 PDT 2014
On Tue, Jul 1, 2014 at 6:33 PM, Richard Trieu <rtrieu at google.com> wrote:
> -Wnonnull already warns when it is known at compiler time that a null is
> used in these places. Nick will know if Clang marks parameters and return
> values as non-null for optimization purposes.
The key would be to annotate them with non-null UBSan checks even if we
aren't sufficiently confident to do so for the optimizer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140701/34f27e91/attachment.html>
More information about the llvm-commits
mailing list