summaryrefslogtreecommitdiff
path: root/azure/msan_job.yml
diff options
context:
space:
mode:
Diffstat (limited to 'azure/msan_job.yml')
-rw-r--r--azure/msan_job.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/azure/msan_job.yml b/azure/msan_job.yml
index 3c6cb4ca09..0c7475be5b 100644
--- a/azure/msan_job.yml
+++ b/azure/msan_job.yml
@@ -14,8 +14,7 @@ jobs:
- script: |
export CC=clang
export CXX=clang++
- export CFLAGS="-fsanitize=memory -DZEND_TRACK_ARENA_ALLOC"
- export LDFLAGS="-fsanitize=memory"
+ export CFLAGS="-DZEND_TRACK_ARENA_ALLOC"
./buildconf --force
# msan requires all used libraries to be instrumented,
# so we should avoiding linking against anything but libc here
@@ -31,6 +30,7 @@ jobs:
--disable-xmlreader \
--disable-xmlwriter \
--without-pcre-jit \
+ --disable-opcache-jit \
--enable-phpdbg \
--enable-fpm \
--with-pdo-mysql=mysqlnd \
@@ -50,6 +50,7 @@ jobs:
--enable-ftp \
--enable-zend-test \
--enable-werror \
+ --enable-memory-sanitizer \
--with-config-file-path=/etc \
--with-config-file-scan-dir=/etc/php.d
displayName: 'Configure Build'