Forked from
Glasgow Haskell Compiler / GHC
5492 commits behind the upstream repository.
Previously this was only exposed from `ghc-internal` which violates our agreement that users shall not rely on things exposed from that package. Fixes #24479.