[PATCH] D32454: Removes createELFFile which takes a template class as a template parameter.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 24 14:31:16 PDT 2017


ruiu created this revision.

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.


https://reviews.llvm.org/D32454

Files:
  lld/ELF/Driver.cpp
  lld/ELF/InputFiles.cpp
  lld/ELF/InputFiles.h
  lld/ELF/SymbolTable.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32454.96470.patch
Type: text/x-patch
Size: 8218 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170424/86a3c2c4/attachment.bin>


More information about the llvm-commits mailing list