]> granicus.if.org Git - clang/commit
Driver: Produce crash diagnostics more often on Windows
authorReid Kleckner <reid@kleckner.net>
Mon, 7 Jul 2014 20:23:27 +0000 (20:23 +0000)
committerReid Kleckner <reid@kleckner.net>
Mon, 7 Jul 2014 20:23:27 +0000 (20:23 +0000)
commit8a6d0bb0a721eb6b503c351e75818d3d1e9a2806
treec537c103b1fb8306f2ea829e9dc6f013679df15a
parent4b58e15652e1160e5f2b3d0cf39636bae5c69dc1
Driver: Produce crash diagnostics more often on Windows

Assertion failures call abort(), which return an exit code of 3 on
Windows.  The 'not' utility has the same check.

Unfortunately, the crash-report.c test requires a shell, so it does not
run for me locally, so I can only test this manually.

There's still more work to be done here: we should generate a batch
script instead of a shell script on Windows.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212481 91177308-0d34-0410-b5e6-96231b3b80d8
tools/driver/driver.cpp