[PATCH] D34298: [ubsan] Improve diagnostics for return value checks (compiler-rt)

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 22 14:25:09 PDT 2017


vsk updated this revision to Diff 103635.
vsk marked 4 inline comments as done.
vsk edited the summary of this revision.
vsk added a comment.

Make the null check in the non-null return value handler an unexpected case.


https://reviews.llvm.org/D34298

Files:
  lib/ubsan/ubsan_handlers.cc
  lib/ubsan/ubsan_handlers.h
  lib/ubsan/ubsan_interface.inc
  test/ubsan/TestCases/Misc/nonnull.cpp
  test/ubsan/TestCases/Misc/nullability.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34298.103635.patch
Type: text/x-patch
Size: 6765 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170622/26f6d422/attachment.bin>


More information about the llvm-commits mailing list