It turns out that googletest unit tests don't react to the
config.unsupported flag so far, so we need to change the framework
for that. (Such a change should be split out to a separate commit,
but I'm including it here for now, for complete overview of this
change.)
The symbol referenced in the non-dynamic case for i386,
_except_handler4, isn't available in mingw configurations (where
we only ever link the dynamic CRT); for ASAN_DYNAMIC, the symbol is
redirected to _except_handler4_common which does exist.
When the static asan testsuites are marked as unsupported (but
available), building check-compiler-rt or check-asan ends up
trying to link the unit tests for the static ccase even if they're
not going to be executed; therefore, this practically irrelevant
case still needs to be compileable and linkable.
you should move this file into a separate patch
and include a test