This is an archive of the discontinued LLVM Phabricator instance.

Avoid using globals in ELF Symbol Table
ClosedPublic

Authored by wsmoses on Jul 5 2020, 3:39 PM.

Details

Summary

The Symbol Table in LLD references the global object to add a symbol rather than adding it to itself.

Diff Detail

Event Timeline

wsmoses created this revision.Jul 5 2020, 3:39 PM
wsmoses updated this revision to Diff 275582.Jul 5 2020, 3:52 PM
MaskRay accepted this revision.Jul 5 2020, 4:43 PM

Thanks! This may have a minor performance increase.

This revision is now accepted and ready to land.Jul 5 2020, 4:43 PM

I can commit the for you if you don't have commit access. Please provide Name <email> so that you can get proper credit.

I can commit the for you if you don't have commit access. Please provide Name <email> so that you can get proper credit.

I do not presently have commit access, for my git commits I use:
William S. Moses <gh@wsmoses.com>

Thanks!

This revision was automatically updated to reflect the committed changes.