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