Commit Graph

5 Commits

Author SHA1 Message Date
Alexander Haase
1a68d6aefe Little bugfixes. 2016-04-15 14:31:51 +02:00
Alexander Haase
1cefaef507 Added function to set sanitizer blacklist. 2016-04-15 14:25:58 +02:00
Alexander Haase
6975d64d6b Flags will be searched only once per compiler.
If a compiler does not support sanitizing, it will not be checked a second time.
2016-04-06 19:39:47 +02:00
Alexander Haase
b492553f61 New central module FindSanitizers.cmake.
* Added a new module FindSanitizers with new function add_sanitizers to combine
  all sanitizers in one function instead of adding each one by one.
* Code of FindASan.cmake was outdourced into helper functions, so that the code
  may be used by other sanitizer modules, too.
* AddressSanitizer will be used with -O1 now to get a better performance.
2016-04-06 18:48:16 +02:00
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
2016-03-08 03:52:36 +01:00