
This is enough to compile and link but doesn't yet do anything particularly useful. Once an ASM parser and printer are added in the next two patches, the whole thing can be usefully tested. Differential Revision: https://reviews.llvm.org/D23562 llvm-svn: 285770
32 lines
851 B
C++
32 lines
851 B
C++
//===-- RISCVMCAsmInfo.h - RISCV Asm Info ----------------------*- C++ -*--===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file contains the declaration of the RISCVMCAsmInfo class.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_LIB_TARGET_RISCV_MCTARGETDESC_RISCVMCASMINFO_H
|
|
#define LLVM_LIB_TARGET_RISCV_MCTARGETDESC_RISCVMCASMINFO_H
|
|
|
|
#include "llvm/MC/MCAsmInfoELF.h"
|
|
|
|
namespace llvm {
|
|
class Triple;
|
|
|
|
class RISCVMCAsmInfo : public MCAsmInfoELF {
|
|
void anchor() override;
|
|
|
|
public:
|
|
explicit RISCVMCAsmInfo(const Triple &TargetTriple);
|
|
};
|
|
|
|
} // namespace llvm
|
|
|
|
#endif
|