summaryrefslogtreecommitdiff
path: root/rts/Hpc.c
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-03-31 12:38:56 +0200
committerSylvain Henry <sylvain@haskus.fr>2020-07-31 19:32:09 +0200
commit56a7c19337c5b2aa21d521a6d7c965174ec8379b (patch)
treed280483bcf3e2c34d1761b0dc9ec09b863026073 /rts/Hpc.c
parent380638a33691ba43fdcd2e18bca636750e5f66f1 (diff)
downloadhaskell-56a7c19337c5b2aa21d521a6d7c965174ec8379b.tar.gz
Refactor CLabel pretty-printing
Pretty-printing CLabel relies on sdocWithDynFlags that we want to remove (#10143, #17957). It uses it to query the backend and the platform. This patch exposes Clabel ppr functions specialised for each backend so that backend code can directly use them.
Diffstat (limited to 'rts/Hpc.c')
-rw-r--r--rts/Hpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/Hpc.c b/rts/Hpc.c
index 6f9727560a..0c297fc60a 100644
--- a/rts/Hpc.c
+++ b/rts/Hpc.c
@@ -241,8 +241,8 @@ startupHpc(void)
/*
* Called on a per-module basis, by a constructor function compiled
- * with each module (see Coverage.hpcInitCode), declaring where the
- * tix boxes are stored in memory. This memory can be uninitized,
+ * with each module (see GHC.HsToCore.Coverage.hpcInitCode), declaring
+ * where the tix boxes are stored in memory. This memory can be uninitized,
* because we will initialize it with either the contents of the tix
* file, or all zeros.
*