diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-07-26 14:55:36 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-07-26 14:55:36 +0000 |
commit | 71b1c76cdf349b1cc838336a62374ca8e06db5a0 (patch) | |
tree | 24ddbece1f9e2a5edc635a782348daef04da1fb1 /test/MC | |
parent | 16a0de5b4aa25dc54129841b82bdbe2601482fe9 (diff) | |
download | external_llvm-71b1c76cdf349b1cc838336a62374ca8e06db5a0.zip external_llvm-71b1c76cdf349b1cc838336a62374ca8e06db5a0.tar.gz external_llvm-71b1c76cdf349b1cc838336a62374ca8e06db5a0.tar.bz2 |
Improve our error handling on windows.
* Remove LLVM_ENABLE_CRT_REPORT. LLVM_DISABLE_CRASH_REPORT made it redundant.
* set Return to 1, so that we get a stack trace on failure.
* don't call _exit, so that we get a negative exit value and "not --crash"
correctly differentiates crashes and regular errors.
This is a bit experimental since the documentation on this interface is sparse.
It doesn't bring up a dialog on my windows setup, but feel free to revert
if it causes problem for your setup (and let me know what it is so that I
can try to fix this patch).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187206 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
0 files changed, 0 insertions, 0 deletions