diff options
author | Badalyan Vyacheslav <slavon.net@gmail.com> | 2016-02-10 05:40:32 +0000 |
---|---|---|
committer | Badalian Vyacheslav <v.badalyan@open-bs.ru> | 2016-02-09 23:51:05 -0600 |
commit | bd07b6f0dd3f4e490d0c2f0d81d045a977c03eca (patch) | |
tree | 10debcae50842021e225649e22e1d2eda57f1f13 /build_tools/cflags.xml | |
parent | 93e8ed01544bb1b9cba1dc24b06e157e3add9e23 (diff) |
Build: Added testing compiler to support the system sanitizes
In older versions of the compiler was not sanitizes.
Compilers other than GCC can not support the Usan and TSAN
or have other options for *FLAGS.
ASTERISK-25767 #close
Reported by: Badalyan Vyacheslav
Tested by: Badalyan Vyacheslav
Change-Id: Iefce6608221fa87884b82ae3cb5649b7b1804916
Diffstat (limited to 'build_tools/cflags.xml')
-rw-r--r-- | build_tools/cflags.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build_tools/cflags.xml b/build_tools/cflags.xml index d11fb22e5..a43daa0ae 100644 --- a/build_tools/cflags.xml +++ b/build_tools/cflags.xml @@ -85,6 +85,7 @@ <support_level>core</support_level> </member> <member name="ADDRESS_SANITIZER" displayname="Address Sanitizer"> + <depend>HAVE_ADDRESS_SANITIZER</depend> <support_level>extended</support_level> <conflict>THREAD_SANITIZER</conflict> <conflict>LEAK_SANITIZER</conflict> @@ -93,12 +94,14 @@ <conflict>DEBUG_CHAOS</conflict> </member> <member name="THREAD_SANITIZER" displayname="Thread Sanitizer"> + <depend>HAVE_THREAD_SANITIZER</depend> <support_level>extended</support_level> <conflict>ADDRESS_SANITIZER</conflict> <conflict>LEAK_SANITIZER</conflict> <conflict>UNDEFINED_SANITIZER</conflict> </member> <member name="LEAK_SANITIZER" displayname="Leak Sanitizer"> + <depend>HAVE_LEAK_SANITIZER</depend> <support_level>extended</support_level> <conflict>ADDRESS_SANITIZER</conflict> <conflict>THREAD_SANITIZER</conflict> @@ -107,6 +110,7 @@ <conflict>DEBUG_CHAOS</conflict> </member> <member name="UNDEFINED_SANITIZER" displayname="Undefined Behavior Sanitizer"> + <depend>HAVE_UNDEFINED_SANITIZER</depend> <support_level>extended</support_level> <conflict>ADDRESS_SANITIZER</conflict> <conflict>THREAD_SANITIZER</conflict> |