diff options
author | Ben Gamari <ben@smart-cactus.org> | 2021-12-02 20:38:00 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-12-07 06:28:59 -0500 |
commit | 324772bbdec7737abe0a705fab77437c5d579704 (patch) | |
tree | e7b696fafccee4c8baf6c1e6ff70f0e83375aeac /rts/Schedule.h | |
parent | 57c9c0a2ba19b2fedfb8dc0b7e7124412f76fa8c (diff) | |
download | haskell-324772bbdec7737abe0a705fab77437c5d579704.tar.gz |
rts/Linker: Ensure that mmap_32bit_base is updated after mapping
The amount of duplicated code in `mmapForLinker` hid the fact that some
codepaths would fail to update `mmap_32bit_base` (specifically, on
platforms like OpenBSD where `MAP_32BIT` is not supported).
Refactor the function to make the implementation more obviously correct.
Closes #20734.
Diffstat (limited to 'rts/Schedule.h')
0 files changed, 0 insertions, 0 deletions