On Fri, Jul 11, 2014 at 1:39 PM, Herbert Valerio Riedel wrote:

> Btw, can we get a clang-based build-config in the matrix as well?

Assuming tests are run, what about enabling -fsanitize switches?

There are more switches, but the following are documented to work in
both Clang and GCC:
  -fsanitize=address (2x slowdown)
  -fsanitize=undefined
  -fsanitize=thread (5x-15x slowdown)

As the generated code will be slower, it may either complicate or
limit its use, but -fsanitize is a useful tool to catch bugs.
That said, it's probably easier to adopt on GHC builder slave nodes.

http://clang.llvm.org/docs/UsersManual.html#controlling-code-generation
http://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html
_______________________________________________
ghc-devs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-devs

Reply via email to