Enable checked builds of CoreCLR.
authorEugene Rozenfeld <erozen@microsoft.com>
Wed, 16 Dec 2015 01:40:43 +0000 (17:40 -0800)
committerEugene Rozenfeld <erozen@microsoft.com>
Mon, 21 Dec 2015 23:20:57 +0000 (15:20 -0800)
commit3df44ef76ffc7d3c9932eb24e9e1e1d71f02c069
tree0510ffcdfef296301d5c9e52a663453f5780afb1
parentea7f6d05953cd1660b07621dac11d4d204d3bbbb
Enable checked builds of CoreCLR.

In checked builds coreclr, mscorlib, and the test are built optimized
but assertion checking is on. This adds additional coverage (the jit is
optimizing and assertion checking is on), speeds up testing compared to debug,
and allows testing JIT stress modes.

This doesn't affect CoreFX.

Several tests are currently failing in checked configuration due to newly
discovered  bugs (JIT asserts). We didn't see these asserts in debug mode
because by default JIT is in minopt mode; we didn't see these bugs in release
mode because assertion checking is off. I will file the bugs once checked build
changes are in.
16 files changed:
.gitignore
CMakeLists.txt
build.cmd
build.sh
clr.props
dir.props
src/mscorlib/mscorlib.csproj
src/pal/tools/clang-compiler-override.txt
src/pal/tools/gen-buildsys-clang.sh
src/pal/tools/windows-compiler-override.txt
src/vm/CMakeLists.txt
src/vm/gchelpers.cpp
tests/CMakeLists.txt
tests/buildtest.cmd
tests/runtest.cmd
tests/src/dir.common.props