summaryrefslogtreecommitdiffstats
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
commita8d12ef85323c0c425dd1724a494cb6b4184ecaa (patch)
treedc3f7a93a7636166e8d42681a1cbc5195516b5a2 /lld/ELF/Writer.h
parent0e1a50e9c459d46995ba0cc7f5ed1da535e1b70a (diff)
downloadbcm5719-llvm-a8d12ef85323c0c425dd1724a494cb6b4184ecaa.tar.gz
bcm5719-llvm-a8d12ef85323c0c425dd1724a494cb6b4184ecaa.zip
Do not join sections for relocatable object files
Differential revision: https://reviews.llvm.org/D25232 llvm-svn: 283307
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);
OpenPOWER on IntegriCloud