[compiler-rt] [Darwin][ASan][Test] Create a noinlined wrapper function for reliable suppression in test. (PR #131247)
Julian Lettner via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 14 12:39:02 PDT 2025
================
@@ -3,8 +3,8 @@
// RUN: not %run %t 2>&1 | FileCheck --check-prefix=CHECK-CRASH %s
// Check that suppressing a function name works within a no-fork sandbox
-// RUN: echo "interceptor_via_fun:CFStringCreateWithBytes" > %t.supp
-// RUN: %env_asan_opts=suppressions='"%t.supp"' \
+// RUN: echo "interceptor_via_fun:createCFString" > %t.supp
+// RUN: %env_asan_opts=suppressions='"%t.supp"':verbosity=1:detect_leaks=0 \
----------------
yln wrote:
```suggestion
// RUN: %env_asan_opts=suppressions='"%t.supp"' \
```
Nit: remove diff
https://github.com/llvm/llvm-project/pull/131247
More information about the llvm-commits
mailing list