1 //===- SparcMCAsmInfo.h - Sparc asm properties -----------------*- C++ -*--===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This file contains the declaration of the SparcMCAsmInfo class.
11 //===----------------------------------------------------------------------===//
13 #ifndef LLVM_LIB_TARGET_SPARC_MCTARGETDESC_SPARCMCASMINFO_H
14 #define LLVM_LIB_TARGET_SPARC_MCTARGETDESC_SPARCMCASMINFO_H
16 #include "llvm/MC/MCAsmInfoELF.h"
22 class SparcELFMCAsmInfo
: public MCAsmInfoELF
{
23 void anchor() override
;
26 explicit SparcELFMCAsmInfo(const Triple
&TheTriple
);
29 getExprForPersonalitySymbol(const MCSymbol
*Sym
, unsigned Encoding
,
30 MCStreamer
&Streamer
) const override
;
31 const MCExpr
* getExprForFDESymbol(const MCSymbol
*Sym
,
33 MCStreamer
&Streamer
) const override
;
37 } // end namespace llvm
39 #endif // LLVM_LIB_TARGET_SPARC_MCTARGETDESC_SPARCMCASMINFO_H