[PATCH] Implement nonnull-attribute sanitizer

Richard Smith richard at metafoo.co.uk
Sat Sep 6 03:42:03 PDT 2014


Yes, I think it makes sense for returns_nonnull too.

================
Comment at: projects/compiler-rt/lib/ubsan/ubsan_handlers.h:135
@@ +134,3 @@
+  SourceLocation Loc;
+  SourceLocation DeclLoc;
+  int ArgIndex;
----------------
Maybe AttrLoc?

http://reviews.llvm.org/D5082






More information about the cfe-commits mailing list