LdvProfile: THUNK_SELECTOR hack
The snippet can be accessed without any authentication.
Authored by
Alexis King
This works around https://gitlab.haskell.org/ghc/ghc/-/issues/24141.
patch.patch 321 B
diff --git a/rts/LdvProfile.c b/rts/LdvProfile.c
index 2cdeb36ce2..3935ee79ec 100644
--- a/rts/LdvProfile.c
+++ b/rts/LdvProfile.c
@@ -42,6 +42,7 @@ bool isInherentlyUsed( StgHalfWord closure_type )
case PRIM:
case MUT_PRIM:
case TREC_CHUNK:
+ case THUNK_SELECTOR:
return true;
default:
Please register or sign in to comment