]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/ReaderWriter/ELF/ARM/ARMRelocationPass.h
Vendor import of lld trunk r233088:
[FreeBSD/FreeBSD.git] / lib / ReaderWriter / ELF / ARM / ARMRelocationPass.h
1 //===--------- lib/ReaderWriter/ELF/ARM/ARMRelocationPass.h ---------------===//
2 //
3 //                             The LLVM Linker
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 ///
10 /// \file
11 /// \brief Declares the relocation processing pass for ARM. This includes
12 ///   GOT and PLT entries, TLS, COPY, and ifunc.
13 ///
14 //===----------------------------------------------------------------------===//
15
16 #ifndef LLD_READER_WRITER_ELF_ARM_ARM_RELOCATION_PASS_H
17 #define LLD_READER_WRITER_ELF_ARM_ARM_RELOCATION_PASS_H
18
19 #include <memory>
20
21 namespace lld {
22 class Pass;
23 namespace elf {
24 class ARMLinkingContext;
25
26 /// \brief Create ARM relocation pass for the given linking context.
27 std::unique_ptr<Pass> createARMRelocationPass(const ARMLinkingContext &);
28 }
29 }
30
31 #endif