diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-02-17 17:35:07 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-02-17 17:35:07 +0000 |
commit | 432b12e40919623703b79f44af54efa8b07202aa (patch) | |
tree | 46803991e35981f2b472790564a96519cf5e56d2 /lld/ELF/Writer.h | |
parent | 2620de718ed77eff2b3cbc49deed4ff05fc1c047 (diff) |
Don't print DISCARD sections as gced.
This is a small difference I noticed to gold and bfd. When given
--print-gc-sections, we print sections a linkerscript marks
DISCARD. The other linkers don't.
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 afecdd04901..b5be425b043 100644 --- a/lld/ELF/Writer.h +++ b/lld/ELF/Writer.h @@ -52,7 +52,6 @@ llvm::StringRef getOutputSectionName(llvm::StringRef Name); template <class ELFT> bool allocateHeaders(std::vector<PhdrEntry> &, llvm::ArrayRef<OutputSectionBase *>, uint64_t Min); -template <class ELFT> void reportDiscarded(InputSectionBase<ELFT> *IS); template <class ELFT> uint32_t getMipsEFlags(); |