Fix unwinding of C -> Haskell FFI calls with -threaded (2nd try)
authorBartosz Nitka <niteria@gmail.com>
Thu, 17 May 2018 15:06:33 +0000 (08:06 -0700)
committerBartosz Nitka <niteria@gmail.com>
Thu, 17 May 2018 15:06:34 +0000 (08:06 -0700)
commit5d3b15ecbf17b7747c2f7313a981c60a2d22904d
tree64709fa322560091b7339614e36833a20f364f34
parentf27e4f624fe1270e8027ff0a14f03514f5be31b7
Fix unwinding of C -> Haskell FFI calls with -threaded (2nd try)

Summary:
See the new note.
This should fix cb5c2fe875965b7aedbc189012803fc62e48fb3f enough
to unbreak Windows and OS X builds.

Test Plan: manual testing with patched gdb

Reviewers: bgamari, simonmar, erikd

Reviewed By: bgamari

Subscribers: rwbarton, thomie, carter

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