diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2016-09-07 20:41:19 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2016-09-07 20:41:19 +0000 |
| commit | 0a75850fa7cf58fcadab61509ffa79e57793f449 (patch) | |
| tree | 94235d4e0ba845e0970008ba276f8b90d5e35ac3 | |
| parent | 6f04ed9ed5f738805825e5b4f10c2d3785b1ccf4 (diff) | |
| download | bcm5719-llvm-0a75850fa7cf58fcadab61509ffa79e57793f449.tar.gz bcm5719-llvm-0a75850fa7cf58fcadab61509ffa79e57793f449.zip | |
Move field to the base class. NFC.
llvm-svn: 280858
| -rw-r--r-- | lld/ELF/InputSection.h | 3 |
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; |

