[PATCH] D48959: [compiler-rt][ubsan] Implicit Cast Sanitizer - integer truncation - compiler-rt part

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 10 12:59:38 PDT 2018


lebedev.ri updated this revision to Diff 154864.
lebedev.ri marked 11 inline comments as done.
lebedev.ri added a comment.

- Drop indeed-unneeded 'grouping' `ImplicitCast` check. For some reason i was very sure i just didn't add some macro, and there was grouping at this level, too.
- Added test with runtime blacklist, doubling as a test for `-fno-sanitize-recover=` test


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D48959

Files:
  lib/ubsan/ubsan_checks.inc
  lib/ubsan/ubsan_diag.h
  lib/ubsan/ubsan_handlers.cc
  lib/ubsan/ubsan_handlers.h
  lib/ubsan/ubsan_interface.inc
  lib/ubsan_minimal/ubsan_minimal_handlers.cc
  test/fuzzer/ImplicitIntegerTruncationTest.cpp
  test/fuzzer/fuzzer-implicit-integer-truncation.test
  test/ubsan/TestCases/ImplicitCast/integer-truncation-blacklist.c
  test/ubsan/TestCases/ImplicitCast/integer-truncation-summary.cpp
  test/ubsan/TestCases/ImplicitCast/integer-truncation.c
  test/ubsan/TestCases/ImplicitCast/integer-truncation.cpp
  test/ubsan_minimal/TestCases/implicit-integer-truncation.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48959.154864.patch
Type: text/x-patch
Size: 17649 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180710/844522f1/attachment.bin>


More information about the llvm-commits mailing list