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
Showing
- compiler/cmm/CmmLayoutStack.hs 5 additions, 4 deletionscompiler/cmm/CmmLayoutStack.hs
- compiler/cmm/CmmNode.hs 4 additions, 4 deletionscompiler/cmm/CmmNode.hs
- compiler/cmm/CmmParse.y 11 additions, 3 deletionscompiler/cmm/CmmParse.y
- compiler/cmm/Debug.hs 5 additions, 3 deletionscompiler/cmm/Debug.hs
- compiler/cmm/MkGraph.hs 3 additions, 1 deletioncompiler/cmm/MkGraph.hs
- compiler/codeGen/StgCmmMonad.hs 1 addition, 1 deletioncompiler/codeGen/StgCmmMonad.hs
- compiler/nativeGen/Dwarf.hs 3 additions, 1 deletioncompiler/nativeGen/Dwarf.hs
- compiler/nativeGen/Dwarf/Types.hs 31 additions, 16 deletionscompiler/nativeGen/Dwarf/Types.hs
- compiler/nativeGen/X86/CodeGen.hs 3 additions, 3 deletionscompiler/nativeGen/X86/CodeGen.hs
- rts/StgMiscClosures.cmm 2 additions, 0 deletionsrts/StgMiscClosures.cmm
Loading
Please register or sign in to comment