summaryrefslogtreecommitdiff
path: root/utils/lndir
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2021-10-15 09:49:00 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-10-19 03:31:27 -0400
commit877e6685e3d802f159b1d9db785bc663a37c31cb (patch)
treec70e8f1f2b06fdef486a612b7f458625cdfeb4ff /utils/lndir
parentfdfb3b03baaa81a532a7e4554e13ccd4d342461e (diff)
downloadhaskell-877e6685e3d802f159b1d9db785bc663a37c31cb.tar.gz
Temporary fix for leak with -fno-code (#20509)
This hack inserted for backpack caused a very bad leak when using -fno-code where EPS entries would end up retaining stale HomePackageTables. For any interactive user, such as HLS, this is really bad as once the entry makes it's way into the EPS then it's there for the rest of the session. This is a temporary fix which "solves" the issue by filtering the HPT to only the part which is needed for the hack to work, but in future we want to separate out hole modules from the HPT entirely to avoid needing to do this kind of special casing. ------------------------- Metric Decrease: MultiLayerModulesDefsGhci -------------------------
Diffstat (limited to 'utils/lndir')
0 files changed, 0 insertions, 0 deletions