[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:03 PDT 2025


================
@@ -13,12 +13,17 @@
 
 #include <CoreFoundation/CoreFoundation.h>
 
+// Use a noinline + disable_tail_calls wrapper function to suppress to stabilize test.
----------------
yln wrote:

```suggestion
// Disable optimizations to ensure that this function appears on the stack trace so our
// configured suppressions `interceptor_via_fun:createCFString` can take effect.
```

https://github.com/llvm/llvm-project/pull/131247


More information about the llvm-commits mailing list