Fix stop_thread unwinding information
authorBen Gamari <bgamari.foss@gmail.com>
Wed, 8 Feb 2017 04:00:10 +0000 (23:00 -0500)
committerBen Gamari <ben@smart-cactus.org>
Wed, 8 Feb 2017 15:26:00 +0000 (10:26 -0500)
commit34e3523354916b0fb8a0dc93041d25812f7e6181
tree5a33a3183828a23b130e889eff23b90eae30ba5e
parent5279b08ba3f01e4b7e28d12b2751413d789d9fbe
Fix stop_thread unwinding information

This corrects the unwind information for `stg_stop_thread`, which
allows us to unwind back to the C stack after reaching the end of the
STG stack.

Test Plan: Validate

Reviewers: simonmar, austin, erikd

Reviewed By: simonmar

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2746
includes/rts/Constants.h
rts/StgCRun.c
rts/StgStartup.cmm