This is an archive of the discontinued LLVM Phabricator instance.

Handle symbol assignments before the first section switch
ClosedPublic

Authored by rafael on Feb 6 2017, 1:49 PM.

Details

Reviewers
ruiu
grimar
Summary

This is an alternative to https://reviews.llvm.org/D29391 which is a lot simpler IMHO.

Diff Detail

Event Timeline

rafael created this revision.Feb 6 2017, 1:49 PM
ruiu edited edge metadata.Feb 6 2017, 2:00 PM

Does this always create a dummy section at the beginning of a file?

ELF/LinkerScript.cpp
779

mention -> mentioned

ruiu accepted this revision.Feb 6 2017, 2:02 PM

Ah, Aether is just a placeholder object that is going to be output as a real section in the output. That's a clever way of handling the symbols defined before the first section. LGTM.

This revision is now accepted and ready to land.Feb 6 2017, 2:02 PM
grimar edited edge metadata.Feb 7 2017, 2:18 AM

Thanks !

grimar closed this revision.Aug 17 2017, 2:32 AM

r294252