Runtime enable for checked-build asserts
commit609e1617d8977a3243df0d18e74e9b493f594a0d
authorAndi McClure <andi.mcclure@xamarin.com>
Thu, 10 Mar 2016 22:42:06 +0000 (10 17:42 -0500)
committerAndi McClure <andi.mcclure@xamarin.com>
Thu, 10 Mar 2016 22:42:06 +0000 (10 17:42 -0500)
treeebf2e13abb7b05c7ae0b4a98c38d882e98564636
parent7dea485a01409a4aa0d5be4909cf4af07abcd203
Runtime enable for checked-build asserts

In addition to --enable-checked-build, it is now mandatory to put the
requested checked-build modes in the environment variable
MONO_CHECK_MODE at runtime.

Also add a MONO_CHECK_THREAD_TRANSITION_HISTORY environement variable
for thread transition history length (instead of hardcoding 3).
mono/utils/checked-build.c
mono/utils/checked-build.h