• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 LLVM_LIB_TARGET_SPARC_MCTARGETDESC_SPARCMCASMINFO_H
15 #define LLVM_LIB_TARGET_SPARC_MCTARGETDESC_SPARCMCASMINFO_H
16 
17 #include "llvm/MC/MCAsmInfoELF.h"
18 
19 namespace llvm {
20 class Triple;
21 
22 class SparcELFMCAsmInfo : public MCAsmInfoELF {
23   void anchor() override;
24 
25 public:
26   explicit SparcELFMCAsmInfo(const Triple &TheTriple);
27   const MCExpr*
28   getExprForPersonalitySymbol(const MCSymbol *Sym, unsigned Encoding,
29                               MCStreamer &Streamer) const override;
30   const MCExpr* getExprForFDESymbol(const MCSymbol *Sym,
31                                     unsigned Encoding,
32                                     MCStreamer &Streamer) const override;
33 
34 };
35 
36 } // namespace llvm
37 
38 #endif
39