This is an archive of the discontinued LLVM Phabricator instance.

Fix a bug for packed relocations.
ClosedPublic

Authored by ruiu on Jul 9 2018, 4:35 PM.

Details

Summary

Previously, we didn't create multiple consecutive bitmaps.
Added a test to catch this bug too.

Diff Detail

Repository
rLLD LLVM Linker

Event Timeline

ruiu created this revision.Jul 9 2018, 4:35 PM
pcc accepted this revision.Jul 9 2018, 4:52 PM

LGTM

lld/test/ELF/pack-dyn-relocs2.s
52 ↗(On Diff #154730)

Nit: I'd drop the addends because they aren't relevant to what you're testing for here.

This revision is now accepted and ready to land.Jul 9 2018, 4:52 PM
This revision was automatically updated to reflect the committed changes.