These instructions will tell you how to build GHC 8.10.2 with support for the -hi, -finfo-table-map and -fdistinct-constructor-tables flags.
First checkout this GHC Branch: https://gitlab.haskell.org/mpickering/ghc/-/commits/ghc-con-info-backport. Then:
mkdir _build, Copy thehadrian.settingsfile into_build.git submodule update --initperl boot./configure./hadrian/build.cabal.sh -j4
If you wish to view the profile, use eventlog2html version 0.9.0 or newer.
where does the
hadrian.settingsfile go? I've never used Hadrian to build ghc before and the docs do not seem to mention this file