[PATCH] D21378: [asan] suppress new-delete-type-mismatch per ASAN_OPTIONS suppressions settings

Stephan Bergmann via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 24 02:37:16 PDT 2016


sberg added inline comments.

================
Comment at: test/asan/TestCases/allocator-suppressions.cc:4
@@ +3,3 @@
+// RUN: not %run %t 2>&1 | FileCheck --check-prefix=CHECK-FAIL %s
+// RUN: echo "interceptor_via_fun:fail_function" > %t.supp
+// RUN: %env_asan_opts=suppressions='"%t.supp"' %run %t 2>&1 | FileCheck --allow-empty --check-prefix=CHECK-IGNORE %s
----------------
kcc wrote:
> the bug type prefix should clearly be different (new_delete_type_mismatch or some such)
what do you mean with "bug type prefix"?


https://reviews.llvm.org/D21378





More information about the llvm-commits mailing list