Alexander Haase
88e75c6b03
Enabled debug symbols for ASan.
преди 10 години
Alexander Haase
584f137e70
Reworked FindASan.cmake.
* removed build type ASAN. Targets should define ASan usage by sanitize_address
function
* compiler flags will be searched by compiler instead of per language
* FindASan warns, if a target can't be sanitized because of incompatible
compilers
* added some helper functions
преди 10 години
Alexander Haase
c96a15b46c
Bugfix in FindASan.cmake
преди 10 години
Alexander Haase
d81be39678
Bugfix in FindASan.cmake.
преди 10 години
Alexander Haase
f62b5858ac
Compile flags will now be set per-source file.
Thus C can be mixed with Fortran and the objects can be build with different
compilers, not both may support AddressSanitizer.
преди 10 години
Alexander Haase
c29aa33f11
Check ASan support for all enabled compilers.
Instead of fix checking for C and CXX compilers, all enabled languages will be
tested now.
преди 10 години
Alexander Haase
e39082050c
Removed continue statement in FindASan.cmake
Older CMake versions are not capable of continue in foreach functions.
преди 10 години
Alexander Haase
41e635c9ca
Restructured code of FindASan.cmake
преди 10 години
Alexander Haase
4fd453301a
Moved CMake files and added a simple testcase
преди 10 години
Sam Spilsbury
9b343f8e7e
Set the HAVE_MEMORY_SANITIZER and HAVE_ADDRESS_SANITIZER cache entries.
These were (inconsistently) not being set as opposed to
HAVE_THREAD_SANITIZER and HAVE_UNDEFINED_BEHAVIOUR_SANITIZER
преди 11 години
Matt Arsenault
42eac1f7af
Add modules for asan, msan, tsan and ubsan
преди 12 години