Fix unwinding of C -> Haskell FFI calls with -threaded
authorBartosz Nitka <niteria@gmail.com>
Thu, 3 May 2018 17:43:38 +0000 (10:43 -0700)
committerBartosz Nitka <niteria@gmail.com>
Fri, 11 May 2018 11:02:03 +0000 (04:02 -0700)
commitcb5c2fe875965b7aedbc189012803fc62e48fb3f
treebc5d65def3de1b2a08b569f9661a0db602a719ac
parent40a76c99624ae82e960bad0f1c832ddec4aece16
Fix unwinding of C -> Haskell FFI calls with -threaded

See the new note.

Test Plan:
manual testing with patched gdb

Reviewers: bgamari, simonmar, erikd

Subscribers: rwbarton, thomie, carter

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