This is an archive of the discontinued LLVM Phabricator instance.

Simplify Symbol::getPltVA.
ClosedPublic

Authored by ruiu on Nov 27 2018, 3:31 PM.

Details

Summary

This patch also makes getPltEntryOffset a non-member function because
it doesn't depend on any private members of the TargetInfo class.

I tried a few different ideas, and it seems this change fits in best
to me.

Diff Detail

Repository
rLLD LLVM Linker

Event Timeline

ruiu created this revision.Nov 27 2018, 3:31 PM
MaskRay accepted this revision.Nov 27 2018, 4:00 PM
This revision is now accepted and ready to land.Nov 27 2018, 4:00 PM
This revision was automatically updated to reflect the committed changes.