aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/compilers.py
diff options
context:
space:
mode:
authorGabrĂ­el ArthĂșr PĂ©tursson <gabriel@system.is>2017-07-02 21:11:17 +0000
committerJussi Pakkanen <jpakkane@gmail.com>2017-07-15 09:59:09 +0200
commit39c7b0492c078a159def3e11443b8f7174eeca2e (patch)
tree713e486bfb6c86d8c7c5d9b89229a3b20bf7d8ec /mesonbuild/compilers/compilers.py
parentd9939f00640a5fce01f7ddeab4726b8a9ff43e80 (diff)
downloadmeson-39c7b0492c078a159def3e11443b8f7174eeca2e.zip
meson-39c7b0492c078a159def3e11443b8f7174eeca2e.tar.gz
meson-39c7b0492c078a159def3e11443b8f7174eeca2e.tar.bz2
Allow both address- and undefined behavior sanitizers at the same time
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r--mesonbuild/compilers/compilers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py
index 6b5c4a4..9007cc5 100644
--- a/mesonbuild/compilers/compilers.py
+++ b/mesonbuild/compilers/compilers.py
@@ -207,7 +207,7 @@ base_options = {'b_pch': coredata.UserBooleanOption('b_pch', 'Use precompiled he
'b_lto': coredata.UserBooleanOption('b_lto', 'Use link time optimization', False),
'b_sanitize': coredata.UserComboOption('b_sanitize',
'Code sanitizer to use',
- ['none', 'address', 'thread', 'undefined', 'memory'],
+ ['none', 'address', 'thread', 'undefined', 'memory', 'address,undefined'],
'none'),
'b_lundef': coredata.UserBooleanOption('b_lundef', 'Use -Wl,--no-undefined when linking', True),
'b_asneeded': coredata.UserBooleanOption('b_asneeded', 'Use -Wl,--as-needed when linking', True),