[commit: ghc] master: Cmm: Add support for undefined unwinding statements (3328ddb)

git at git.haskell.org git at git.haskell.org
Wed Feb 8 15:26:25 UTC 2017


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

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

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

commit 3328ddb88b6eb11cb1f6e844f883e7e9d2b8f21b
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Tue Feb 7 22:56:36 2017 -0500

    Cmm: Add support for undefined unwinding statements
    
    And use to mark `stg_stack_underflow_frame`, which we are unable to
    determine a caller from.
    
    To simplify parsing at the moment we steal the `return` keyword to
    indicate an undefined unwind value. Perhaps this should be revisited.
    
    Reviewers: scpmw, simonmar, austin, erikd
    
    Subscribers: dfeuer, thomie
    
    Differential Revision: https://phabricator.haskell.org/D2738


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

3328ddb88b6eb11cb1f6e844f883e7e9d2b8f21b
 compiler/cmm/CmmLayoutStack.hs    |  9 ++++----
 compiler/cmm/CmmNode.hs           |  8 +++----
 compiler/cmm/CmmParse.y           | 14 +++++++++---
 compiler/cmm/Debug.hs             |  8 ++++---
 compiler/cmm/MkGraph.hs           |  4 +++-
 compiler/codeGen/StgCmmMonad.hs   |  2 +-
 compiler/nativeGen/Dwarf.hs       |  4 +++-
 compiler/nativeGen/Dwarf/Types.hs | 47 ++++++++++++++++++++++++++-------------
 compiler/nativeGen/X86/CodeGen.hs |  6 ++---
 rts/StgMiscClosures.cmm           |  2 ++
 10 files changed, 68 insertions(+), 36 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 3328ddb88b6eb11cb1f6e844f883e7e9d2b8f21b


More information about the ghc-commits mailing list