Put GHC on travis for real

Tuncer Ayaz tuncer.ayaz at gmail.com
Fri Jul 11 15:11:50 UTC 2014


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


More information about the ghc-devs mailing list