Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / lib / Target / RISCV / MCTargetDesc / RISCVMCObjectFileInfo.h
blobc2ef160c51072bbfa57ac31f11b1886c155a6b7d
1 //===-- RISCVMCObjectFileInfo.h - RISC-V 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.
11 //===----------------------------------------------------------------------===//
13 #ifndef LLVM_LIB_TARGET_RISCV_MCTARGETDESC_RISCVMCOBJECTFILEINFO_H
14 #define LLVM_LIB_TARGET_RISCV_MCTARGETDESC_RISCVMCOBJECTFILEINFO_H
16 #include "llvm/MC/MCObjectFileInfo.h"
17 #include "llvm/MC/MCSubtargetInfo.h"
19 namespace llvm {
21 class RISCVMCObjectFileInfo : public MCObjectFileInfo {
22 public:
23 static unsigned getTextSectionAlignment(const MCSubtargetInfo &STI);
24 unsigned getTextSectionAlignment() const override;
27 } // namespace llvm
29 #endif