SparcMCAsmInfo.h revision 36b56886974eae4f9c5ebc96befd3e7bfe5de338
1//===-- SparcMCAsmInfo.h - Sparc asm properties ----------------*- C++ -*--===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// 9// 10// This file contains the declaration of the SparcMCAsmInfo class. 11// 12//===----------------------------------------------------------------------===// 13 14#ifndef SPARCTARGETASMINFO_H 15#define SPARCTARGETASMINFO_H 16 17#include "llvm/MC/MCAsmInfoELF.h" 18 19namespace llvm { 20class StringRef; 21 22class SparcELFMCAsmInfo : public MCAsmInfoELF { 23 virtual void anchor(); 24public: 25 explicit SparcELFMCAsmInfo(StringRef TT); 26 virtual const MCExpr* getExprForPersonalitySymbol(const MCSymbol *Sym, 27 unsigned Encoding, 28 MCStreamer &Streamer) const; 29 virtual const MCExpr* getExprForFDESymbol(const MCSymbol *Sym, 30 unsigned Encoding, 31 MCStreamer &Streamer) const; 32 33}; 34 35} // namespace llvm 36 37#endif 38