aboutsummaryrefslogtreecommitdiff
path: root/lib/ReaderWriter/ELF/Mips/MipsCtorsOrderPass.h
blob: eeb1a194f9c77e78d72bd908d8843dc3c212de11 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//===- lib/ReaderWriter/ELF/Mips/MipsCtorsOrderPass.h ---------------------===//
//
//                             The LLVM Linker
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#ifndef LLD_READER_WRITER_ELF_MIPS_MIPS_CTORS_ORDER_PASS_H
#define LLD_READER_WRITER_ELF_MIPS_MIPS_CTORS_ORDER_PASS_H

#include "lld/Core/Pass.h"

namespace lld {
namespace elf {
/// \brief This pass sorts atoms in .{ctors,dtors}.<priority> sections.
class MipsCtorsOrderPass : public Pass {
public:
  void perform(std::unique_ptr<MutableFile> &mergedFile) override;
};
}
}

#endif