summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2017-09-13 15:51:42 -0400
committerBen Gamari <ben@smart-cactus.org>2017-09-13 16:45:50 -0400
commit4cead3c1d5bf1c5f3cfb1898fd9d618674292f4b (patch)
tree6a6b8ead80ea2d1a0d0b966cbabbb93911b578fd
parent4e222203751e50e3c35815376090b2951bf7c9e0 (diff)
downloadhaskell-4cead3c1d5bf1c5f3cfb1898fd9d618674292f4b.tar.gz
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
-rw-r--r--rts/RtsSymbols.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rts/RtsSymbols.c b/rts/RtsSymbols.c
index e80a4955f0..fb9be7faa0 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 */