diff options
author | George Rimar <grimar@accesssoftek.com> | 2017-03-14 09:03:53 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2017-03-14 09:03:53 +0000 |
commit | 4c854f7248f6d42dce8e6f14b163fee25e9a897b (patch) | |
tree | 58e8fce09e25c1d721394b8c7d0aecfd96d18c99 /lld/ELF/Writer.h | |
parent | 7da15c00f17ca3d48f78cab9d93a71855989ef1b (diff) |
[ELF] - Step to combine LinkerScript and LinkerScriptBase
We can move all not templated functionality to LinkerScriptBase.
Patch do that for hasPhdrsCommands() and shows how it helps to detemplate
things in other places.
Probably we should be able to merge these 2 classes into single one after such steps.
Even if not, it still looks as reasonable cleanup for me.
Differential revision: https://reviews.llvm.org/D30895
Diffstat (limited to 'lld/ELF/Writer.h')
-rw-r--r-- | lld/ELF/Writer.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lld/ELF/Writer.h b/lld/ELF/Writer.h index b89e984c9e5..a669e42ef20 100644 --- a/lld/ELF/Writer.h +++ b/lld/ELF/Writer.h @@ -49,7 +49,6 @@ struct PhdrEntry { llvm::StringRef getOutputSectionName(llvm::StringRef Name); -template <class ELFT> bool allocateHeaders(std::vector<PhdrEntry> &, llvm::ArrayRef<OutputSection *>, uint64_t Min); |