diff options
author | Ben Gamari <ben@smart-cactus.org> | 2021-11-17 12:08:57 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-11-20 05:36:18 -0500 |
commit | 29e0307185ea98d262e0fca4c5a72503634ebf5b (patch) | |
tree | 77d7e3ae6c5cccab738e6926ebd8ae3cc2859b9e /.gitlab | |
parent | bdeea37efc76bc22a0d2e17f66dbf2ae8ad556fc (diff) | |
download | haskell-29e0307185ea98d262e0fca4c5a72503634ebf5b.tar.gz |
rts: Ensure that markCAFs marks object code
Previously `markCAFs` would only evacuate CAFs' indirectees. This would
allow reachable object code to be unloaded by the linker as `evacuate`
may never be called on the CAF itself, despite it being reachable via
the `{dyn,revertible}_caf_list`s.
To fix this we teach `markCAFs` to explicit call `markObjectCode`,
ensuring that the linker is aware of objects reachable via the CAF
lists.
Fixes #20649.
Diffstat (limited to '.gitlab')
0 files changed, 0 insertions, 0 deletions