| //===-- RISCVTargetObjectFile.h - RISCV Object Info -*- C++ ---------*-===// | |
| // | |
| // The LLVM Compiler Infrastructure | |
| // | |
| // This file is distributed under the University of Illinois Open Source | |
| // License. See LICENSE.TXT for details. | |
| // | |
| //===----------------------------------------------------------------------===// | |
| #ifndef LLVM_LIB_TARGET_RISCV_RISCVTARGETOBJECTFILE_H | |
| #define LLVM_LIB_TARGET_RISCV_RISCVTARGETOBJECTFILE_H | |
| #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h" | |
| namespace llvm { | |
| class RISCVTargetMachine; | |
| /// This implementation is used for RISCV ELF targets. | |
| class RISCVELFTargetObjectFile : public TargetLoweringObjectFileELF { | |
| void Initialize(MCContext &Ctx, const TargetMachine &TM) override; | |
| }; | |
| } // end namespace llvm | |
| #endif |