[PATCH] D25295: [ubsan] Handle undef values in the integer overflow diagnostic

Vedant Kumar via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 21 14:50:55 PDT 2016


vsk updated the summary for this revision.
vsk updated this revision to Diff 75489.
vsk added a comment.

- Don't depend on sizeof(SIntMax) being greater than sizeof(ValueHandle). I.e, get a bit smarter about doing overflow checks.


https://reviews.llvm.org/D25295

Files:
  lib/ubsan/ubsan_diag.h
  lib/ubsan/ubsan_handlers.cc
  test/ubsan/TestCases/Integer/Inputs/undef-overflow.bc
  test/ubsan/TestCases/Integer/Inputs/undef-overflow.input.ll
  test/ubsan/TestCases/Integer/undef-overflow.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25295.75489.patch
Type: text/x-patch
Size: 13749 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161021/137c8bbd/attachment.bin>


More information about the llvm-commits mailing list