rts: Handle zero-sized mappings in MachO linker
As noted in #16701, it is possible that we will find that an object has no segments needing to be mapped. Previously this would result in mmap being called for a zero-length mapping, which would fail. We now simply skip the mmap call in this case; the rest of the logic just works.
parent
ade53ce2
No related branches found
No related tags found
Pipeline #6231 failed
Stage: lint
Stage: build
Stage: full-build
Stage: cleanup
Stage: packaging
Stage: hackage
Stage: deploy
-
mentioned in merge request !1050 (closed)
-
mentioned in issue #16719 (closed)
Please register or sign in to comment