summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorandy@galois.com <unknown>2007-04-30 22:59:15 +0000
committerandy@galois.com <unknown>2007-04-30 22:59:15 +0000
commit55a5d8d90280a611bafb659bc80778d3927a6bff (patch)
treef6a7d65afdd524713e30dbe600fb9dfe89685d95 /includes
parent182edd420fe8d5ec0d12fcabaec7d13416a77cd6 (diff)
downloadhaskell-55a5d8d90280a611bafb659bc80778d3927a6bff.tar.gz
Changing internal data structures used by Hpc
- .tix files are now a list of MixModule, which contain a hash of the contents of the .mix file. - .mix files now have (the same) hash number. This changes allow different binaries that use the same module compiled in the same way to share coverage information.
Diffstat (limited to 'includes')
-rw-r--r--includes/RtsExternal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/RtsExternal.h b/includes/RtsExternal.h
index 0c606e99b9..62764e1019 100644
--- a/includes/RtsExternal.h
+++ b/includes/RtsExternal.h
@@ -71,7 +71,7 @@ extern void* createAdjustor(int cconv, StgStablePtr hptr, StgFunPtr wptr,
extern void freeHaskellFunctionPtr(void* ptr);
/* Hpc stuff */
-extern int hs_hpc_module(char *modName,int modCount,StgWord64 *tixArr);
+extern int hs_hpc_module(char *modName,int modCount,int modHashNo,StgWord64 *tixArr);
extern void hs_hpc_tick(int globIx,struct StgTSO_ *current_tso);
extern void hs_hpc_raise_event(struct StgTSO_ *current_tso);
extern void hs_hpc_thread_finished_event(struct StgTSO_ *current_tso);