Building for thread sanitizer is a simple flag in gcc invokation:
-fsanitize=thread
Yet when looking at sanitizer support in premake I only see the options "Address" and "Fuzzer".
-fsanitize=thread
flags?There are still buildoptions
/linkoptions
so
filter "toolset:gcc or toolset:clang"
buildoptions{"-fsanitize=thread"}
linkoptions{"-fsanitize=thread"}
filter {}