Path: blob/main/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCObjectFileInfo.h
35294 views
//===-- RISCVMCObjectFileInfo.h - RISC-V object file Info ------*- C++ -*--===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7//8// This file contains the declaration of the RISCVMCObjectFileInfo class.9//10//===----------------------------------------------------------------------===//1112#ifndef LLVM_LIB_TARGET_RISCV_MCTARGETDESC_RISCVMCOBJECTFILEINFO_H13#define LLVM_LIB_TARGET_RISCV_MCTARGETDESC_RISCVMCOBJECTFILEINFO_H1415#include "llvm/MC/MCObjectFileInfo.h"16#include "llvm/MC/MCSubtargetInfo.h"1718namespace llvm {1920class RISCVMCObjectFileInfo : public MCObjectFileInfo {21public:22static unsigned getTextSectionAlignment(const MCSubtargetInfo &STI);23unsigned getTextSectionAlignment() const override;24};2526} // namespace llvm2728#endif293031