Fix handling of memory faults on Darwin.
commit2a6ce7f3621c7d3d218ec08abf83b9da50c7a22f
authorStas Boukarev <stassats@gmail.com>
Wed, 9 Nov 2016 16:42:25 +0000 (9 19:42 +0300)
committerStas Boukarev <stassats@gmail.com>
Wed, 9 Nov 2016 16:42:25 +0000 (9 19:42 +0300)
treefb646d5adbb56ae9308195a1c4d70d52c512a15b
parent0c8ef9f4551333788d3551f001a70108b939bc56
Fix handling of memory faults on Darwin.

If the fault address was larger than 48 bits the exception contained a
bogus address. Set the address to 0 if the exception code is EXC_I386_GPFLT.
src/runtime/x86-64-darwin-os.c