diff options
author | Eugene Leviant <evgeny.leviant@gmail.com> | 2016-10-05 10:10:45 +0000 |
---|---|---|
committer | Eugene Leviant <evgeny.leviant@gmail.com> | 2016-10-05 10:10:45 +0000 |
commit | 3c4a425075e0d3acacd2d863671b5f68b932fac1 (patch) | |
tree | 8fdc82ed0d214e62ecb727185d0fff54994ac025 /lld/ELF/Writer.h | |
parent | 5fe9a10e16a5405ac05fc7271b707e319d6681fb (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.h | 3 |
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); |