summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorRyan Scott <ryan.gl.scott@gmail.com>2017-01-15 11:54:41 -0500
committerRyan Scott <ryan.gl.scott@gmail.com>2017-01-15 11:54:41 -0500
commitc13151e5ac774d38d7c5a807692851022c18fe6b (patch)
treee95e46062ec96ca66dbe64e42c0b63b3a9a9b7b7 /compiler
parentdb91d17edfbe7deecb62bbb89c804249f9c4a4bd (diff)
downloadhaskell-c13151e5ac774d38d7c5a807692851022c18fe6b.tar.gz
Improve access violation reporting on Windows
Summary: This patch is courtesy of @awson. Currently, whenever GHC catches a segfault on Windows, it simply reports the somewhat uninformative message `Segmentation fault/access violation in generated code`. This patch adds to the message the type of violation (read/write/dep) and location information, which should help debugging segfaults in the future. Fixes #13108. Test Plan: Build on Windows Reviewers: austin, erikd, bgamari, simonmar, Phyx Reviewed By: bgamari, Phyx Subscribers: awson, thomie, #ghc_windows_task_force Differential Revision: https://phabricator.haskell.org/D2969 GHC Trac Issues: #13108
Diffstat (limited to 'compiler')
0 files changed, 0 insertions, 0 deletions