This is an archive of the discontinued LLVM Phabricator instance.

Remove CopyRelSecOff from SharedSymbol
ClosedPublic

Authored by • rafael on Sep 12 2017, 2:44 PM.

Details

Reviewers
ruiu
Summary

This reduces the size of SharedSymbol which in turn reduces the size of Symbol from 88 to 80 bytes.

Diff Detail

Event Timeline

• rafael created this revision.Sep 12 2017, 2:44 PM
ruiu accepted this revision.Sep 12 2017, 2:49 PM

LGTM

ELF/Relocations.cpp
528–529

Since you just created Sec, it is too obvious that Off is zero, no? I wouldn't assert that.

This revision is now accepted and ready to land.Sep 12 2017, 2:49 PM
• espindola closed this revision.Mar 14 2018, 3:44 PM
• espindola added a subscriber: • espindola.

313154