This is an archive of the discontinued LLVM Phabricator instance.

Removes createELFFile which takes a template class as a template parameter.
Needs ReviewPublic

Authored by ruiu on Apr 24 2017, 2:31 PM.

Details

Reviewers
pcc
espindola
Summary

We want to pass different parameters to ObjectFile and SharedFile ctors,
but the function that instantiates these files was highly abstracted,
and it wasn't easy to pass different parameters.

This patch removes the function. Now we can pass DefaultSoName to
SharedFile ctor.

Event Timeline

ruiu created this revision.Apr 24 2017, 2:31 PM
espindola edited reviewers, added: espindola; removed: rafael.Mar 15 2018, 9:51 AM