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

Byoungyoung Lee byoungyoung at chromium.org
Thu Jul 31 09:18:53 PDT 2014


Resolved comments by Alexey. Please note this patch does NOT pass ubsan testcases, but I'm uploading this to ask why it fails.

The failing test is 

Failing Tests (1):
    UndefinedBehaviorSanitizer-AddressSanitizer :: TestCases/TypeCheck/vptr.cpp

with CHECK-LOC-SUPPRESS check. I've checked this case manually, and everything looks fine. But not sure why cmake test complains this specific case went wrong (only for UBSAN+ASAN).

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_diag.cc
  lib/ubsan/ubsan_diag.h
  lib/ubsan/ubsan_flags.cc
  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.12066.patch
Type: text/x-patch
Size: 9193 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140731/37bb58ea/attachment.bin>


More information about the llvm-commits mailing list