-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Labels
approvedApproved by CLC voteApproved by CLC votebase-4.20Implemented in base-4.20 (GHC 9.10)Implemented in base-4.20 (GHC 9.10)
Description
Currently GHC.InfoProv.InfoProv
exposes module names but not the unit ID where the module lives. I propose that we fill this gap by adding the following field to InfoProv
:
ipUnitId :: InfoProv -> String
Providing this information without significantly increasing the binary size overhead of IPE information requires some refactoring of the whereFrom#
primop, which is currently exposed by GHC.Exts
. As this primop is not intended for use by end-users, I propose that we remove it from GHC.Exts
as nearly all users can instead rely on the safer and more stable GHC.InfoProv.whereFrom
.
Implementation: https://gitlab.haskell.org/ghc/ghc/-/merge_requests/11341
FinleyMcIlwaine and velveteer
Metadata
Metadata
Assignees
Labels
approvedApproved by CLC voteApproved by CLC votebase-4.20Implemented in base-4.20 (GHC 9.10)Implemented in base-4.20 (GHC 9.10)