This is an archive of the discontinued LLVM Phabricator instance.

Add a Global symbol type
Needs ReviewPublic

Authored by espindola on Apr 25 2018, 10:25 PM.

Details

Reviewers
ruiu
grimar
Summary

This is an idea on how to fix the D46103 problem with VerdefIndex.

By having Global symbol type we can avoid having unused PltIndex, GotPltIndex and DynsymIndex in each local symbol. VerdefIndex could be moved there too.

This reduces peak allocation when linking chrome from 568.1 to 562.1.

Diff Detail

Event Timeline

espindola created this revision.Apr 25 2018, 10:25 PM
espindola edited the summary of this revision. (Show Details)Apr 25 2018, 10:25 PM