[commit: ghc] wip/ghci-staticptrs: Add support for StaticPointers in GHCi (98ed207)
git at git.haskell.org
git at git.haskell.org
Mon Jan 9 04:43:54 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/ghci-staticptrs
Link : http://ghc.haskell.org/trac/ghc/changeset/98ed207472febdc3b2a144267f8af9b29b44934c/ghc
>---------------------------------------------------------------
commit 98ed207472febdc3b2a144267f8af9b29b44934c
Author: Ben Gamari <ben at smart-cactus.org>
Date: Wed Aug 31 19:39:54 2016 -0400
Add support for StaticPointers in GHCi
Here we add support to GHCi for StaticPointers. This process begins by
adding remote GHCi messages for adding entries to the static pointer
table. We then collect binders needing SPT entries after linking and
send the interpreter a message adding entries with the appropriate
fingerprints.
>---------------------------------------------------------------
98ed207472febdc3b2a144267f8af9b29b44934c
compiler/ghci/GHCi.hsc | 7 ++++
compiler/main/HscMain.hs | 11 +++++++
compiler/main/StaticPtrTable.hs | 46 ++++++++++++++++-----------
compiler/main/TidyPgm.hs | 10 ++++--
compiler/rename/RnExpr.hs | 9 ------
includes/rts/StaticPtrTable.h | 8 +++++
libraries/ghci/GHCi/Message.hs | 8 ++++-
libraries/ghci/GHCi/RemoteTypes.hs | 3 +-
libraries/ghci/GHCi/Run.hs | 2 ++
libraries/ghci/GHCi/StaticPtrTable.hs | 21 ++++++++++++
libraries/ghci/ghci.cabal.in | 1 +
rts/RtsSymbols.c | 1 +
rts/StaticPtrTable.c | 12 ++++---
testsuite/tests/ghci/scripts/StaticPtr.hs | 20 ++++++++++++
testsuite/tests/ghci/scripts/StaticPtr.script | 23 ++++++++++++++
testsuite/tests/ghci/scripts/StaticPtr.stdout | 3 ++
testsuite/tests/ghci/scripts/all.T | 1 +
17 files changed, 151 insertions(+), 35 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 98ed207472febdc3b2a144267f8af9b29b44934c
More information about the ghc-commits
mailing list