[llvm-branch-commits] [ASan] Make most tests run under internal shell on Darwin (PR #168545)
Dan Blackwell via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Nov 18 06:55:01 PST 2025
================
@@ -5,7 +5,7 @@
// - By default the lit config sets this but we don't want this
// test to implicitly depend on this.
// - It avoids requiring `--crash` to be passed to `not`.
-// RUN: APPLE_ASAN_INIT_FOR_DLOPEN=0 %env_asan_opts=abort_on_error=0 not \
+// RUN: env APPLE_ASAN_INIT_FOR_DLOPEN=0 %env_asan_opts=abort_on_error=0 not \
----------------
DanBlackwell wrote:
```suggestion
// RUN: %env_asan_opts=abort_on_error=0 APPLE_ASAN_INIT_FOR_DLOPEN=0 not \
```
`%env_asan_opts` expands to `env ASAN_OPTIONS=`
https://github.com/llvm/llvm-project/pull/168545
More information about the llvm-branch-commits
mailing list