Commit Graph

3 Commits

Author SHA1 Message Date
Alexander Haase
f566e2b9ec Added checks to avoid bad sanitizer combinations.
Some sanitizers are not compatible with other sanitizers. Added some checks to
avoid these combinations at configuration time.
2016-04-12 21:04:21 +02:00
Alexander Haase
03db9d9383 Restructured all sanitizer modules. 2016-04-06 19:15:25 +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