This is an archive of the discontinued LLVM Phabricator instance.

Reduce code duplication a bit
ClosedPublic

Authored by espindola on Mar 12 2018, 8:46 PM.

Details

Reviewers
ruiu
grimar
Summary

The code for computing the offset of an entry in the plt is simple, but it was duplicated in quite a few places.

Diff Detail

Event Timeline

espindola created this revision.Mar 12 2018, 8:46 PM
ruiu accepted this revision.Mar 14 2018, 10:33 AM

LGTM

This revision is now accepted and ready to land.Mar 14 2018, 10:33 AM