This is an archive of the discontinued LLVM Phabricator instance.

[ELF] - Detemplate GotPltSection and IgotPltSection sections.
ClosedPublic

Authored by grimar on Mar 14 2017, 8:36 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

grimar created this revision.Mar 14 2017, 8:36 AM
jhenderson added inline comments.
ELF/Config.h
166 ↗(On Diff #91729)

Could this be is64Bit()?

grimar updated this revision to Diff 91734.Mar 14 2017, 8:51 AM
grimar edited the summary of this revision. (Show Details)
  • Addressed review comment.
ELF/Config.h
166 ↗(On Diff #91729)

yes, thats better.

ruiu accepted this revision.Mar 14 2017, 10:11 AM

LGTM

ELF/Config.h
183 ↗(On Diff #91734)

While you are here, can you capitalize is -> Is?

166 ↗(On Diff #91729)

I think I actually prefer is64 over is64Bits.

This revision is now accepted and ready to land.Mar 14 2017, 10:11 AM
grimar added inline comments.Mar 15 2017, 2:23 AM
ELF/Config.h
166 ↗(On Diff #91729)

It seems is64Bit() is much more consistent with LLVM code.
is64() used 17 times (mostly LLD/COFF) vs is64Bits() used 587 times.

Still want me to rename it ?

This revision was automatically updated to reflect the committed changes.
ruiu added inline comments.Mar 15 2017, 9:54 AM
ELF/Config.h
166 ↗(On Diff #91729)

Yes please.