[compiler-rt] [ASan] [HWASan] Add __sanitizer_ignore_free_hook() (PR #96749)
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 26 13:45:03 PDT 2024
================
@@ -0,0 +1,119 @@
+// Check that free hook doesn't conflict with Realloc.
+// RUN: %clangxx_asan -O2 %s -o %t -DTEST=basic_hook_works && not %run %t \
+// RUN: |& FileCheck %s -check-prefix=CHECK-BASIC
+// RUN: %clangxx_asan -O2 %s -o %t -DTEST=ignore && %run %t \
----------------
vitalybuka wrote:
can this be sanitizer common test with
REQUIRE: asan || hwasan
https://github.com/llvm/llvm-project/pull/96749
More information about the llvm-commits
mailing list