[lld] r315269 - Remove dead function.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 9 20:58:32 PDT 2017
Author: ruiu
Date: Mon Oct 9 20:58:32 2017
New Revision: 315269
URL: http://llvm.org/viewvc/llvm-project?rev=315269&view=rev
Log:
Remove dead function.
Modified:
lld/trunk/ELF/SyntheticSections.h
Modified: lld/trunk/ELF/SyntheticSections.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/SyntheticSections.h?rev=315269&r1=315268&r2=315269&view=diff
==============================================================================
--- lld/trunk/ELF/SyntheticSections.h (original)
+++ lld/trunk/ELF/SyntheticSections.h Mon Oct 9 20:58:32 2017
@@ -67,11 +67,6 @@ template <class ELFT> class EhFrameSecti
typedef typename ELFT::Rel Elf_Rel;
typedef typename ELFT::Rela Elf_Rela;
- void updateAlignment(uint64_t Val) {
- if (Val > this->Alignment)
- this->Alignment = Val;
- }
-
public:
EhFrameSection();
void writeTo(uint8_t *Buf) override;
More information about the llvm-commits
mailing list