summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/ELF/InputSection.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lld/ELF/InputSection.h b/lld/ELF/InputSection.h
index 7529e4ec56a..47d0e29359d 100644
--- a/lld/ELF/InputSection.h
+++ b/lld/ELF/InputSection.h
@@ -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;
OpenPOWER on IntegriCloud