]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/lib/Target/RISCV/RISCVTargetObjectFile.h
Merge clang 7.0.1 and several follow-up changes
[FreeBSD/FreeBSD.git] / contrib / llvm / lib / Target / RISCV / RISCVTargetObjectFile.h
1 //===-- RISCVTargetObjectFile.h - RISCV Object Info -*- C++ ---------*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
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 LLVM_LIB_TARGET_RISCV_RISCVTARGETOBJECTFILE_H
11 #define LLVM_LIB_TARGET_RISCV_RISCVTARGETOBJECTFILE_H
12
13 #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
14
15 namespace llvm {
16 class RISCVTargetMachine;
17
18 /// This implementation is used for RISCV ELF targets.
19 class RISCVELFTargetObjectFile : public TargetLoweringObjectFileELF {
20   void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
21 };
22
23 } // end namespace llvm
24
25 #endif