martine/ninja — pull request #262 by gmoudry (2012-03-28 15:22:08+00:00)
Title: Improve handling of fatal errors on Windows, support creation of minidumps

This patch provides exception handling for ninja.

There are several observed problems on Windows:
(1) bad_alloc when out of memory
(2) ACCESS_VIOLATION when running in a virtualized environment
(3) error when comiler fails and emits 3 GB of output
On Windows, this patch prints a message and generates a minidump file in the user's temp folder,
for a post-mortem analysis.