ghc-heap: Decode StgStack and its stack frames
Previously, ghc-heap could only decode heap closures. The approach is explained in detail in note [Decoding the stack].
Showing
- libraries/ghc-heap/GHC/Exts/Heap/Closures.hs 149 additions, 1 deletionlibraries/ghc-heap/GHC/Exts/Heap/Closures.hs
- libraries/ghc-heap/GHC/Exts/Heap/InfoTable/Types.hsc 1 addition, 1 deletionlibraries/ghc-heap/GHC/Exts/Heap/InfoTable/Types.hsc
- libraries/ghc-heap/GHC/Exts/Stack.hs 37 additions, 0 deletionslibraries/ghc-heap/GHC/Exts/Stack.hs
- libraries/ghc-heap/GHC/Exts/Stack/Constants.hsc 130 additions, 0 deletionslibraries/ghc-heap/GHC/Exts/Stack/Constants.hsc
- libraries/ghc-heap/GHC/Exts/Stack/Decode.hs 444 additions, 0 deletionslibraries/ghc-heap/GHC/Exts/Stack/Decode.hs
- libraries/ghc-heap/cbits/Stack.c 150 additions, 0 deletionslibraries/ghc-heap/cbits/Stack.c
- libraries/ghc-heap/cbits/Stack.cmm 187 additions, 0 deletionslibraries/ghc-heap/cbits/Stack.cmm
- libraries/ghc-heap/ghc-heap.cabal.in 5 additions, 0 deletionslibraries/ghc-heap/ghc-heap.cabal.in
- libraries/ghc-heap/tests/TestUtils.hs 50 additions, 3 deletionslibraries/ghc-heap/tests/TestUtils.hs
- libraries/ghc-heap/tests/all.T 45 additions, 0 deletionslibraries/ghc-heap/tests/all.T
- libraries/ghc-heap/tests/stack_big_ret.hs 142 additions, 0 deletionslibraries/ghc-heap/tests/stack_big_ret.hs
- libraries/ghc-heap/tests/stack_misc_closures.hs 526 additions, 0 deletionslibraries/ghc-heap/tests/stack_misc_closures.hs
- libraries/ghc-heap/tests/stack_misc_closures_c.c 357 additions, 0 deletionslibraries/ghc-heap/tests/stack_misc_closures_c.c
- libraries/ghc-heap/tests/stack_misc_closures_prim.cmm 231 additions, 0 deletionslibraries/ghc-heap/tests/stack_misc_closures_prim.cmm
- libraries/ghc-heap/tests/stack_stm_frames.hs 38 additions, 0 deletionslibraries/ghc-heap/tests/stack_stm_frames.hs
- libraries/ghc-heap/tests/stack_underflow.hs 49 additions, 0 deletionslibraries/ghc-heap/tests/stack_underflow.hs
- rts/include/rts/storage/InfoTables.h 1 addition, 1 deletionrts/include/rts/storage/InfoTables.h
Loading
Please register or sign in to comment