//===-- RISCVMCAsmInfo.cpp - RISC-V Asm properties ------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This file contains the declarations of the RISCVMCAsmInfo properties. // //===----------------------------------------------------------------------===// #include "RISCVMCAsmInfo.h" #include "MCTargetDesc/RISCVMCExpr.h" #include "llvm/BinaryFormat/Dwarf.h" #include "llvm/MC/MCStreamer.h" #include "llvm/TargetParser/Triple.h" usingnamespacellvm; void RISCVMCAsmInfo::anchor() { … } RISCVMCAsmInfo::RISCVMCAsmInfo(const Triple &TT) { … } const MCExpr *RISCVMCAsmInfo::getExprForFDESymbol(const MCSymbol *Sym, unsigned Encoding, MCStreamer &Streamer) const { … }