diff options
Diffstat (limited to 'lld/ELF/OutputSections.h')
| -rw-r--r-- | lld/ELF/OutputSections.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lld/ELF/OutputSections.h b/lld/ELF/OutputSections.h index d8c0e5b7484..b94f76588e6 100644 --- a/lld/ELF/OutputSections.h +++ b/lld/ELF/OutputSections.h @@ -274,7 +274,7 @@ class RelocationSection final : public OutputSectionBase<ELFT> { typedef typename ELFT::uint uintX_t; public: - RelocationSection(StringRef Name); + RelocationSection(StringRef Name, bool Sort); void addReloc(const DynamicReloc<ELFT> &Reloc); unsigned getRelocOffset(); void finalize() override; @@ -284,6 +284,7 @@ public: bool Static = false; private: + bool Sort; std::vector<DynamicReloc<ELFT>> Relocs; }; |

