From f595cb2535714c91099b92aa4cf4e65b2165fadb Mon Sep 17 00:00:00 2001 From: Theodore Dubois Date: Sat, 27 Jun 2020 01:02:30 -0700 Subject: [PATCH] Automatically enable asan in Meson from Xcode --- xcode-meson.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xcode-meson.sh b/xcode-meson.sh index af36fde99e..92b47e4886 100755 --- a/xcode-meson.sh +++ b/xcode-meson.sh @@ -41,6 +41,9 @@ if [[ $CONFIGURATION == Release ]]; then b_ndebug=true fi b_sanitize=none +if [[ -n "$ENABLE_ADDRESS_SANITIZER" ]]; then + b_sanitize=address +fi log=$ISH_LOG log_handler=nslog jit=true