[PATCH] D30729: [ubsan] Skip range checks for width-limited values

Vedant Kumar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 8 09:12:21 PST 2017


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

- Make check-not's a bit stricter per Filipe's comment.
- Add a negative test for fixed enums.


https://reviews.llvm.org/D30729

Files:
  lib/CodeGen/CGExpr.cpp
  lib/CodeGen/CodeGenFunction.h
  test/CodeGenCXX/ubsan-bitfields.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30729.91030.patch
Type: text/x-patch
Size: 5999 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170308/a23cdfd3/attachment.bin>


More information about the cfe-commits mailing list