[PATCH] [UBSan] Add returns-nonnull sanitizer.

Alexey Samsonov vonosmas at gmail.com
Tue Aug 12 17:29:24 PDT 2014


Renamed the -fsanitize= flag value to "-fsanitize=returns-nonnull-attribute" and added the documentation.
Addressed reviewer's comments.

http://reviews.llvm.org/D4849

Files:
  projects/compiler-rt/lib/ubsan/ubsan_handlers.cc
  projects/compiler-rt/lib/ubsan/ubsan_handlers.h
  projects/compiler-rt/test/ubsan/TestCases/Misc/nonnull.cpp
  tools/clang/docs/UsersManual.rst
  tools/clang/include/clang/Basic/Sanitizers.def
  tools/clang/lib/CodeGen/CGCall.cpp
  tools/clang/test/CodeGen/catch-undef-behavior.c
  tools/clang/test/Driver/fsanitize.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4849.12428.patch
Type: text/x-patch
Size: 11709 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140813/0ece020d/attachment.bin>


More information about the cfe-commits mailing list