diff options
Diffstat (limited to 'lld/ELF/OutputSections.h')
-rw-r--r-- | lld/ELF/OutputSections.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lld/ELF/OutputSections.h b/lld/ELF/OutputSections.h index 817c9439fba..76adfeb396d 100644 --- a/lld/ELF/OutputSections.h +++ b/lld/ELF/OutputSections.h @@ -170,6 +170,8 @@ private: uint64_t getHeaderSize(); void reportDiscarded(InputSectionBase *IS); +void sortByOrder(llvm::MutableArrayRef<InputSection *> In, + std::function<int(InputSectionBase *S)> Order); extern std::vector<OutputSection *> OutputSections; } // namespace elf |