[commit: ghc] master: Replace hooks by callbacks in RtsConfig (#8785) (a7ab161)
git at git.haskell.org
git at git.haskell.org
Tue Apr 7 08:57:40 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/a7ab161602aa0b5833d22c66e64eebb1d9275235/ghc
>---------------------------------------------------------------
commit a7ab161602aa0b5833d22c66e64eebb1d9275235
Author: Simon Marlow <marlowsd at gmail.com>
Date: Mon Jun 9 09:18:12 2014 +0100
Replace hooks by callbacks in RtsConfig (#8785)
Summary:
Hooks rely on static linking semantics, and are broken by -Bsymbolic
which we need when using dynamic linking.
Test Plan: Built it
Reviewers: austin, hvr, tibbe
Differential Revision: https://phabricator.haskell.org/D8
>---------------------------------------------------------------
a7ab161602aa0b5833d22c66e64eebb1d9275235
compiler/main/SysTools.hs | 11 +--
ghc/ghc.mk | 4 +
ghc/hschooks.c | 12 +++
includes/Rts.h | 1 -
includes/RtsAPI.h | 33 ++++++++
rts/Linker.c | 5 --
rts/RtsFlags.c | 153 +++++++++++++++++++++++-------------
rts/RtsFlags.h | 7 +-
rts/RtsStartup.c | 16 +---
rts/RtsUtils.c | 13 +--
rts/Stats.c | 26 +++++-
rts/Stats.h | 1 +
rts/hooks/FlagDefaults.c | 5 +-
{includes/rts => rts/hooks}/Hooks.h | 7 +-
rts/hooks/MallocFail.c | 1 +
rts/hooks/OnExit.c | 1 +
rts/hooks/OutOfHeap.c | 1 +
rts/hooks/StackOverflow.c | 2 +-
rts/sm/GC.c | 3 +
rts/sm/GCThread.h | 1 +
20 files changed, 205 insertions(+), 98 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 a7ab161602aa0b5833d22c66e64eebb1d9275235
More information about the ghc-commits
mailing list