summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-04-22 11:23:31 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-05-09 21:46:38 -0400
commit951c1fb03d80094c8b0d9bcc463d86fa71695b3a (patch)
tree28a03e1ad9256c5038a0351c806910e9b7ef5aef /includes
parentea86360f21e8c9812acba8dc1bc2a54fef700ece (diff)
downloadhaskell-951c1fb03d80094c8b0d9bcc463d86fa71695b3a.tar.gz
Fix unboxed-sums GC ptr-slot rubbish value (#17791)
This patch allows boot libraries to use unboxed sums without implicitly depending on `base` package because of `absentSumFieldError`. See updated Note [aBSENT_SUM_FIELD_ERROR_ID] in GHC.Core.Make
Diffstat (limited to 'includes')
-rw-r--r--includes/stg/MiscClosures.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/stg/MiscClosures.h b/includes/stg/MiscClosures.h
index 7918cf4e01..dc2b0715ca 100644
--- a/includes/stg/MiscClosures.h
+++ b/includes/stg/MiscClosures.h
@@ -418,6 +418,7 @@ RTS_FUN_DECL(stg_raiseDivZZerozh);
RTS_FUN_DECL(stg_raiseUnderflowzh);
RTS_FUN_DECL(stg_raiseOverflowzh);
RTS_FUN_DECL(stg_raiseIOzh);
+RTS_FUN_DECL(stg_paniczh);
RTS_FUN_DECL(stg_makeStableNamezh);
RTS_FUN_DECL(stg_makeStablePtrzh);