Mandeep Singh Grang | 98bc25a | 2018-03-24 18:37:19 +0000 | [diff] [blame] | 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 |