diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-12-01 11:50:44 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2020-10-24 20:59:39 -0400 |
commit | ccf2d4b091284a60acc6c16d166ea7cafade209f (patch) | |
tree | 20af66bb3ffb2e05c3e3960473b6c4da015b1241 /hadrian/src/Settings/Flavours | |
parent | b9d4dd9cbc4f1dd40e6beaf5d8301ac9d3034fca (diff) | |
download | haskell-ccf2d4b091284a60acc6c16d166ea7cafade209f.tar.gz |
rts: Infrastructure for testing with ThreadSanitizer
Diffstat (limited to 'hadrian/src/Settings/Flavours')
-rw-r--r-- | hadrian/src/Settings/Flavours/ThreadSanitizer.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/hadrian/src/Settings/Flavours/ThreadSanitizer.hs b/hadrian/src/Settings/Flavours/ThreadSanitizer.hs new file mode 100644 index 0000000000..722370f5cd --- /dev/null +++ b/hadrian/src/Settings/Flavours/ThreadSanitizer.hs @@ -0,0 +1,9 @@ +module Settings.Flavours.ThreadSanitizer (threadSanitizerFlavour) where + +import Flavour +import Settings.Flavours.Validate + +threadSanitizerFlavour :: Flavour +threadSanitizerFlavour = + enableThreadSanitizer (validateFlavour + { name = "thread-sanitizer" }) |