This is an archive of the discontinued LLVM Phabricator instance.

add typeDataQuicker
ClosedPublic

Authored by shankarke on Feb 21 2013, 9:54 AM.

Details

Reviewers
kledzik
Bigcheese
Summary

This adds typeDataQuicker functionality and adds Hexagon specific atom handling for typeDataQuicker symbol types.

Diff Detail

Event Timeline

Is "quicker" the right name? Is that term used elsewhere? I assume this is for the small data that can be accessed with better codegen than regular global data. Do we need to support zero-fill and initialized "quicker" data?

Yes, We need to support zero filled and initialized quicker data. In addition we need one for commons too. Right now zero filled and commons are being treated similiarly. I am planning to add that functionality in the next set of patches.

Bigcheese accepted this revision.Feb 21 2013, 9:24 PM

Looks fine with these changes.

include/lld/Core/DefinedAtom.h
126

typeDataFast

lib/ReaderWriter/ELF/Atoms.h
252–255

This should be cached.

lib/ReaderWriter/ELF/DefaultLayout.h
300–301

StringSwitch should have one per line.

shankarke added inline comments.Feb 22 2013, 5:06 AM
include/lld/Core/DefinedAtom.h
126

Ok.

lib/ReaderWriter/ELF/Atoms.h
252–255

ok.

lib/ReaderWriter/ELF/DefaultLayout.h
300–301

ok.

Eugene.Zelenko closed this revision.Oct 5 2016, 3:35 PM
Eugene.Zelenko added a subscriber: Eugene.Zelenko.

Committed in rL175901.