This is an archive of the discontinued LLVM Phabricator instance.

[ELF] - Remove ObjFile<ELFT>::Instances and introduce std::vector<InputFIle*> ObjFiles instead.
AbandonedPublic

Authored by grimar on Jul 27 2017, 4:44 AM.

Details

Reviewers
ruiu
rafael
Summary

I suggect this change as it allows to detemplate code.
Intented to be used together with
D35936 ("[ELF] - Move getSymbols() method to InputFile")
in D35843 ("[ELF] - Fix "--symbol-ordering-file doesn't work with linker scripts") patch,
more details is in description for D35936 patch.

Diff Detail

Event Timeline

grimar created this revision.Jul 27 2017, 4:44 AM
grimar edited the summary of this revision. (Show Details)Jul 27 2017, 4:47 AM
ruiu edited edge metadata.Jul 27 2017, 9:48 AM

This patch sacrifices consistency for removing template, which I don't think a good idea.

grimar abandoned this revision.Jul 28 2017, 3:55 AM
In D35938#822934, @ruiu wrote:

This patch sacrifices consistency for removing template, which I don't think a good idea.

What about D35987 ? It should address your comment.