summaryrefslogtreecommitdiff
path: root/lld/ELF/Writer.h
diff options
context:
space:
mode:
authorEugene Leviant <evgeny.leviant@gmail.com>2016-10-05 10:10:45 +0000
committerEugene Leviant <evgeny.leviant@gmail.com>2016-10-05 10:10:45 +0000
commit3c4a425075e0d3acacd2d863671b5f68b932fac1 (patch)
tree8fdc82ed0d214e62ecb727185d0fff54994ac025 /lld/ELF/Writer.h
parent5fe9a10e16a5405ac05fc7271b707e319d6681fb (diff)
Do not join sections for relocatable object files
Differential revision: https://reviews.llvm.org/D25232
Diffstat (limited to 'lld/ELF/Writer.h')
-rw-r--r--lld/ELF/Writer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lld/ELF/Writer.h b/lld/ELF/Writer.h
index 4d9df9302bb..cf1c56019b8 100644
--- a/lld/ELF/Writer.h
+++ b/lld/ELF/Writer.h
@@ -41,8 +41,7 @@ struct PhdrEntry {
bool HasLMA = false;
};
-template <class ELFT>
-llvm::StringRef getOutputSectionName(InputSectionBase<ELFT> *S);
+llvm::StringRef getOutputSectionName(llvm::StringRef Name);
template <class ELFT> void reportDiscarded(InputSectionBase<ELFT> *IS);