[commit: ghc] master: rts: Add regsterCc(s)List to RTS symbols list (4cead3c)
git at git.haskell.org
git at git.haskell.org
Wed Sep 13 20:54:53 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/4cead3c1d5bf1c5f3cfb1898fd9d618674292f4b/ghc
>---------------------------------------------------------------
commit 4cead3c1d5bf1c5f3cfb1898fd9d618674292f4b
Author: Ben Gamari <bgamari.foss at gmail.com>
Date: Wed Sep 13 15:51:42 2017 -0400
rts: Add regsterCc(s)List to RTS symbols list
These are helpers added in a8da0de27e600211f04601ac737c329d6603c700 to
register cost centres. They are invoked while loading profiled code and
therefore need to be in the RTS's symbol list.
Test Plan: Validate, trying starting GHCi in profiled GHC build
Reviewers: austin, erikd, simonmar
Subscribers: rwbarton, thomie, RyanGlScott
Differential Revision: https://phabricator.haskell.org/D3950
>---------------------------------------------------------------
4cead3c1d5bf1c5f3cfb1898fd9d618674292f4b
rts/RtsSymbols.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/rts/RtsSymbols.c b/rts/RtsSymbols.c
index e80a495..fb9be7f 100644
--- a/rts/RtsSymbols.c
+++ b/rts/RtsSymbols.c
@@ -495,6 +495,8 @@
SymI_HasProto(enterFunCCS) \
SymI_HasProto(pushCostCentre) \
SymI_HasProto(mkCostCentre) \
+ SymI_HasProto(registerCcList) \
+ SymI_HasProto(registerCcsList) \
SymI_HasProto(era)
#else
#define RTS_PROF_SYMBOLS /* empty */
More information about the ghc-commits
mailing list