[commit: ghc] master: Add support for StaticPointers in GHCi (eedb3df)
git at git.haskell.org
git at git.haskell.org
Thu Feb 2 05:20:01 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/eedb3df0c1c28a7abc43705d614239c1c6199a1f/ghc
>---------------------------------------------------------------
commit eedb3df0c1c28a7abc43705d614239c1c6199a1f
Author: Ben Gamari <bgamari.foss at gmail.com>
Date: Wed Feb 1 23:39:52 2017 -0500
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.
Test Plan: `make test TEST=StaticPtr`
Reviewers: facundominguez, mboes, simonpj, simonmar, goldfire, austin,
hvr, erikd
Reviewed By: simonpj, simonmar
Subscribers: RyanGlScott, simonpj, thomie
Differential Revision: https://phabricator.haskell.org/D2504
GHC Trac Issues: #12356
>---------------------------------------------------------------
eedb3df0c1c28a7abc43705d614239c1c6199a1f
compiler/ghci/GHCi.hsc | 7 +++++
compiler/main/DriverPipeline.hs | 5 ++--
compiler/main/GHC.hs | 17 ++++++++++--
compiler/main/GhcMake.hs | 12 +++++++++
compiler/main/HscMain.hs | 24 ++++++++++++++---
compiler/main/HscTypes.hs | 30 ++++++++++++++++-----
compiler/main/InteractiveEval.hs | 2 +-
compiler/main/StaticPtrTable.hs | 38 ++++++++++++++++-----------
compiler/main/TidyPgm.hs | 18 ++++++++++---
compiler/rename/RnExpr.hs | 9 -------
docs/users_guide/8.2.1-notes.rst | 3 +++
docs/users_guide/glasgow_exts.rst | 7 +++++
includes/rts/StaticPtrTable.h | 8 ++++++
libraries/ghci/GHCi/Message.hs | 8 +++++-
libraries/ghci/GHCi/Run.hs | 2 ++
libraries/ghci/GHCi/StaticPtrTable.hs | 24 +++++++++++++++++
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 | 27 +++++++++++++++++++
testsuite/tests/ghci/scripts/StaticPtr.stderr | 3 +++
testsuite/tests/ghci/scripts/StaticPtr.stdout | 2 ++
testsuite/tests/ghci/scripts/T9878.stderr | 4 ---
testsuite/tests/ghci/scripts/all.T | 1 +
25 files changed, 232 insertions(+), 53 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 eedb3df0c1c28a7abc43705d614239c1c6199a1f
More information about the ghc-commits
mailing list