[PATCH] [UBSAN] Suppress an error report with given type information

Byoungyoung Lee byoungyoung at chromium.org
Mon Jul 28 17:58:26 PDT 2014


Hi samsonov, rsmith,

For UBSan vptr, suppress an error report with given type information.

The suppression list is provided with the file (UBSAN_OPTIONS=suppressions=SUPP_FILENAME), and an error report is suppressed if the type of an actual object is in the suppression list.

http://reviews.llvm.org/D4702

Files:
  lib/sanitizer_common/sanitizer_suppressions.cc
  lib/sanitizer_common/sanitizer_suppressions.h
  lib/sanitizer_common/tests/sanitizer_suppressions_test.cc
  lib/ubsan/ubsan_flags.cc
  lib/ubsan/ubsan_flags.h
  lib/ubsan/ubsan_handlers_cxx.cc
  lib/ubsan/ubsan_init.cc
  test/ubsan/TestCases/TypeCheck/vptr.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4702.11967.patch
Type: text/x-patch
Size: 6777 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140729/830fa77e/attachment.bin>


More information about the cfe-commits mailing list