[commit: ghc] master: Fix unwinding of C -> Haskell FFI calls with -threaded (cb5c2fe)

git at git.haskell.org git at git.haskell.org
Fri May 11 11:02:31 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/cb5c2fe875965b7aedbc189012803fc62e48fb3f/ghc

>---------------------------------------------------------------

commit cb5c2fe875965b7aedbc189012803fc62e48fb3f
Author: Bartosz Nitka <niteria at gmail.com>
Date:   Thu May 3 10:43:38 2018 -0700

    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


>---------------------------------------------------------------

cb5c2fe875965b7aedbc189012803fc62e48fb3f
 includes/rts/Constants.h |  13 ++++
 rts/RtsMessages.c        |   4 +-
 rts/RtsUtils.h           |   3 +
 rts/StgCRun.c            | 175 ++++++++++++++++++++++++++++++++++++++++++++---
 rts/StgStartup.cmm       |  18 +----
 5 files changed, 185 insertions(+), 28 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc cb5c2fe875965b7aedbc189012803fc62e48fb3f


More information about the ghc-commits mailing list