SparcMCAsmInfo.h revision 276479
1193323Sed//===-- SparcMCAsmInfo.h - Sparc asm properties ----------------*- C++ -*--===//
2193323Sed//
3193323Sed//                     The LLVM Compiler Infrastructure
4193323Sed//
5193323Sed// This file is distributed under the University of Illinois Open Source
6193323Sed// License. See LICENSE.TXT for details.
7193323Sed//
8193323Sed//===----------------------------------------------------------------------===//
9193323Sed//
10193323Sed// This file contains the declaration of the SparcMCAsmInfo class.
11193323Sed//
12193323Sed//===----------------------------------------------------------------------===//
13193323Sed
14193323Sed#ifndef SPARCTARGETASMINFO_H
15193323Sed#define SPARCTARGETASMINFO_H
16193323Sed
17193323Sed#include "llvm/MC/MCAsmInfoELF.h"
18193323Sed
19193323Sednamespace llvm {
20193323Sedclass StringRef;
21193323Sed
22193323Sedclass SparcELFMCAsmInfo : public MCAsmInfoELF {
23193323Sed  void anchor() override;
24193323Sedpublic:
25193323Sed  explicit SparcELFMCAsmInfo(StringRef TT);
26193323Sed  const MCExpr*
27193323Sed  getExprForPersonalitySymbol(const MCSymbol *Sym, unsigned Encoding,
28193323Sed                              MCStreamer &Streamer) const override;
29193323Sed  const MCExpr* getExprForFDESymbol(const MCSymbol *Sym,
30193323Sed                                    unsigned Encoding,
31193323Sed                                    MCStreamer &Streamer) const override;
32193323Sed
33193323Sed};
34193323Sed
35193323Sed} // namespace llvm
36198090Srdivacky
37193323Sed#endif
38193323Sed