forked from OSchip/llvm-project
28 lines
794 B
C++
28 lines
794 B
C++
//===-- RISCVELFStreamer.h - RISCV ELF Target Streamer ---------*- 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_RISCVELFSTREAMER_H
|
|
#define LLVM_LIB_TARGET_RISCV_RISCVELFSTREAMER_H
|
|
|
|
#include "RISCVTargetStreamer.h"
|
|
#include "llvm/MC/MCELFStreamer.h"
|
|
|
|
namespace llvm {
|
|
|
|
class RISCVTargetELFStreamer : public RISCVTargetStreamer {
|
|
public:
|
|
MCELFStreamer &getStreamer();
|
|
RISCVTargetELFStreamer(MCStreamer &S, const MCSubtargetInfo &STI);
|
|
|
|
virtual void emitDirectiveOptionRVC();
|
|
virtual void emitDirectiveOptionNoRVC();
|
|
};
|
|
}
|
|
#endif
|