[PATCH] D30762: [ubsan] Add a nullability sanitizer

Vedant Kumar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 9 09:30:23 PST 2017


vsk updated this revision to Diff 91180.
vsk added a comment.

- Add a test for the mixed _Nonnull arg + __attribute__((nonnull)) arg case.
- Reword docs per Adrian's comments, fix up doxygen comments, add better code comments, drop redundant "Nullability" truthiness checks.


https://reviews.llvm.org/D30762

Files:
  docs/UndefinedBehaviorSanitizer.rst
  include/clang/Basic/Sanitizers.def
  lib/CodeGen/CGCall.cpp
  lib/CodeGen/CGDecl.cpp
  lib/CodeGen/CGExprScalar.cpp
  lib/CodeGen/CodeGenFunction.cpp
  lib/CodeGen/CodeGenFunction.h
  lib/Driver/SanitizerArgs.cpp
  lib/Driver/ToolChain.cpp
  test/CodeGenObjC/ubsan-nonnull-and-nullability.m
  test/CodeGenObjC/ubsan-nullability.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30762.91180.patch
Type: text/x-patch
Size: 25372 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170309/14e3a55b/attachment-0001.bin>


More information about the cfe-commits mailing list