diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2017-09-26 14:34:58 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-09-26 15:39:18 -0400 |
commit | 1825cbdbdf08ed4bd6fd6794852596078953298a (patch) | |
tree | 5c76215fe2cfc87729b8c5f03fb8f5cd5277a9c2 /libraries/base/changelog.md | |
parent | 7fb89e81aa26d546c468a780b57cbdd5ab189ec2 (diff) | |
download | haskell-1825cbdbdf08ed4bd6fd6794852596078953298a.tar.gz |
Switch VEH to VCH and allow disabling of SEH completely.
Exception handling on Windows is unfortunately a bit complicated.
But essentially the VEH Handlers we currently have are running too
early.
This was a problem as it ran so early it also swallowed C++ exceptions
and other software exceptions which the system could have very well
recovered from.
So instead we use a sequence of chains to for the exception handlers to
run as late as possible. You really can't get any later than this.
Please read the comment in the patch for more details.
I'm also providing a switch to allow people to turn off the exception
handling entirely. In case it does present a problem with their code.
Test Plan: ./validate
Reviewers: austin, hvr, bgamari, erikd, simonmar
Reviewed By: bgamari
Subscribers: rwbarton, thomie
GHC Trac Issues: #13911, #12110
Differential Revision: https://phabricator.haskell.org/D3911
Diffstat (limited to 'libraries/base/changelog.md')
-rw-r--r-- | libraries/base/changelog.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libraries/base/changelog.md b/libraries/base/changelog.md index 5b1e147cb5..4671c716d9 100644 --- a/libraries/base/changelog.md +++ b/libraries/base/changelog.md @@ -50,6 +50,9 @@ * `Type.Reflection.withTypeable` is now polymorphic in the `RuntimeRep` of its result. + * Add `installSEHHandlers` to `MiscFlags` in `GHC.RTS.Flags` to determine if + exception handling is enabled. + ## 4.10.0.0 *April 2017* * Bundled with GHC *TBA* |