1 //===-- RISCVMCObjectFileInfo.h - RISCV object file Info -------*- C++ -*--===// 2 // 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // 7 //===----------------------------------------------------------------------===// 8 // 9 // This file contains the declaration of the RISCVMCObjectFileInfo class. 10 // 11 //===----------------------------------------------------------------------===// 12 13 #ifndef LLVM_LIB_TARGET_RISCV_MCTARGETDESC_RISCVMCOBJECTFILEINFO_H 14 #define LLVM_LIB_TARGET_RISCV_MCTARGETDESC_RISCVMCOBJECTFILEINFO_H 15 16 #include "llvm/MC/MCObjectFileInfo.h" 17 18 namespace llvm { 19 20 class RISCVMCObjectFileInfo : public MCObjectFileInfo { 21 public: 22 unsigned getTextSectionAlignment() const override; 23 }; 24 25 } // namespace llvm 26 27 #endif 28