]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/ReaderWriter/ELF/X86_64/ExampleSubTarget/ExampleTargetHandler.h
Vendor import of lld trunk r233088:
[FreeBSD/FreeBSD.git] / lib / ReaderWriter / ELF / X86_64 / ExampleSubTarget / ExampleTargetHandler.h
1 //===- lib/ReaderWriter/ELF/X86_64/ExampleTarget/ExampleTargetHandler.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 #ifndef LLD_READER_WRITER_ELF_X86_64_EXAMPLE_TARGET_EXAMPLE_TARGET_HANDLER_H
11 #define LLD_READER_WRITER_ELF_X86_64_EXAMPLE_TARGET_EXAMPLE_TARGET_HANDLER_H
12
13 #include "X86_64TargetHandler.h"
14
15 namespace lld {
16 namespace elf {
17 class ExampleLinkingContext;
18
19 class ExampleTargetHandler final : public X86_64TargetHandler {
20 public:
21   ExampleTargetHandler(ExampleLinkingContext &c);
22
23   std::unique_ptr<Writer> getWriter() override;
24
25 private:
26   ExampleLinkingContext &_exampleContext;
27 };
28 } // end namespace elf
29 } // end namespace lld
30
31 #endif