Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Display a warning if TSAN/ASAN used together as CMake options #1767
Currently we can set both TSAN=ON and ASAN=ON as options to CMake. Without paying attention to build flags it's not obvious that only ASAN is used. This is because currently they are mutually exclusive in both gcc and clang. I have made it display a warning now if they are. If ASAN and ASAN_INT are both used, ASAN_INT is prioritised.