[GHC] #11337: Unwind information incorrect between Sp adjustment and end of block

GHC ghc-devs at haskell.org
Sat Jan 2 13:30:40 UTC 2016


#11337: Unwind information incorrect between Sp adjustment and end of block
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  bgamari
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.3
  (CodeGen)                          |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 In principle this ought not to be too hard to fix:

   1. Fix `CmmLayoutStack.maybeAddSpAdj` to add a `CmmUnwind` node after
 the `CmmAssign`.
   2. Fix `Debug.extractUnwind` to properly emit tables for all unwind
 nodes in a block.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11337#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list