LLVM API Documentation
00001 //===-- SparcMCAsmInfo.h - Sparc asm properties ----------------*- C++ -*--===// 00002 // 00003 // The LLVM Compiler Infrastructure 00004 // 00005 // This file is distributed under the University of Illinois Open Source 00006 // License. See LICENSE.TXT for details. 00007 // 00008 //===----------------------------------------------------------------------===// 00009 // 00010 // This file contains the declaration of the SparcMCAsmInfo class. 00011 // 00012 //===----------------------------------------------------------------------===// 00013 00014 #ifndef LLVM_LIB_TARGET_SPARC_MCTARGETDESC_SPARCMCASMINFO_H 00015 #define LLVM_LIB_TARGET_SPARC_MCTARGETDESC_SPARCMCASMINFO_H 00016 00017 #include "llvm/MC/MCAsmInfoELF.h" 00018 00019 namespace llvm { 00020 class StringRef; 00021 00022 class SparcELFMCAsmInfo : public MCAsmInfoELF { 00023 void anchor() override; 00024 public: 00025 explicit SparcELFMCAsmInfo(StringRef TT); 00026 const MCExpr* 00027 getExprForPersonalitySymbol(const MCSymbol *Sym, unsigned Encoding, 00028 MCStreamer &Streamer) const override; 00029 const MCExpr* getExprForFDESymbol(const MCSymbol *Sym, 00030 unsigned Encoding, 00031 MCStreamer &Streamer) const override; 00032 00033 }; 00034 00035 } // namespace llvm 00036 00037 #endif