On Linux, the signal handlers are not run on signals such as SIGINT due to CTRL-C. This makes sense, as such signals are not really crashes. Prior to this change, this wasn't the case on Windows, however. This patch changes the Windows behaviour to be consistent with Linux, and adds testing that verifies this.
The test uses llvm-symbolizer, but any tool with an interactive mode would do the job.
count 0 < %t.err
or 2>&1 | count 0