Page MenuHomePhabricator

Please use GitHub pull requests for new patches. Phabricator shutdown timeline

Fix issue #62423: relaxation region overflow
Needs ReviewPublic

Authored by korran on Apr 28 2023, 1:47 AM.



lld incorrectly emits region overflow errors when linker relaxation
would prevent an overflow. This occurs because the region overflow
errors are emitted before any relaxation passes have been done. This
commit ignores region overflow errors until the final assignAddresses()

See more information on this bug at

Diff Detail

Event Timeline

korran created this revision.Apr 28 2023, 1:47 AM
Herald added a project: Restricted Project. · View Herald Transcript
korran requested review of this revision.Apr 28 2023, 1:47 AM
asb added a reviewer: jrtc27.May 3 2023, 8:20 AM
asb added a subscriber: jobnoorman.

Adding @jrtc27. Also CC @jobnoorman in case this same problem exists in the JITLink relaxation implementation.