Add the possibility to build with sanitizer support (address, thread, undefined).
Motivation and Context
The sanitizers are usefull for finding leaks, race conditions or undefined behaviour.
How Has This Been Tested?
Tested locally. They can be added to travis/appveyor as soon as all found bugs are fixed.
Types of changes
[x] New feature (non-breaking change which adds functionality).
Checklist:
[x] It is my own work, its copyright is implicitly assigned to the project and no substantial part of it has been copied from other sources (including Stack Overflow). In rare occasions this is acceptable, like in CMake modules where the original copyright information should be kept.
[x] I'm using the same code standards as the existing code (indentation, spacing, variable naming, ...).
[ ] I've added tests for my code.
[x] I have verified whether my change requires changes to the documentation
[x] My change either requires no documentation change or I've updated the documentation accordingly.
[x] My branch has been rebased to master, keeping only relevant commits.
Coverage remained the same at 62.47% when pulling c0f7dc705f7cab72c0b36e4ba14b5ecf15cfe6b6 on LukasWoodtli:Sanitizers into dd424c1a900cb41c5db9d481714eb3471ce195e3 on cucumber:master.
Summary
Add the possibility to build with sanitizer support (address, thread, undefined).
Motivation and Context
The sanitizers are usefull for finding leaks, race conditions or undefined behaviour.
How Has This Been Tested?
Tested locally. They can be added to travis/appveyor as soon as all found bugs are fixed.
Types of changes
Checklist: