[lld] r280858 - Move field to the base class. NFC.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 7 13:41:19 PDT 2016
Author: rafael
Date: Wed Sep 7 15:41:19 2016
New Revision: 280858
URL: http://llvm.org/viewvc/llvm-project?rev=280858&view=rev
Log:
Move field to the base class. NFC.
Modified:
lld/trunk/ELF/InputSection.h
Modified: lld/trunk/ELF/InputSection.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/InputSection.h?rev=280858&r1=280857&r2=280858&view=diff
==============================================================================
--- lld/trunk/ELF/InputSection.h (original)
+++ lld/trunk/ELF/InputSection.h Wed Sep 7 15:41:19 2016
@@ -53,6 +53,8 @@ public:
bool Compressed;
// If a section is compressed, this vector has uncompressed section data.
SmallVector<char, 0> Uncompressed;
+
+ std::vector<Relocation> Relocations;
};
// This corresponds to a section of an input file.
@@ -102,7 +104,6 @@ public:
void uncompress();
void relocate(uint8_t *Buf, uint8_t *BufEnd);
- std::vector<Relocation> Relocations;
};
template <class ELFT> InputSectionBase<ELFT> InputSectionBase<ELFT>::Discarded;
More information about the llvm-commits
mailing list