2012-02-18 12:03:15 +00:00
|
|
|
//===-- SparcMCAsmInfo.h - Sparc asm properties ----------------*- C++ -*--===//
|
2006-09-07 22:05:02 +00:00
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
2007-12-29 20:36:04 +00:00
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
2006-09-07 22:05:02 +00:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
2009-08-22 20:48:53 +00:00
|
|
|
// This file contains the declaration of the SparcMCAsmInfo class.
|
2006-09-07 22:05:02 +00:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2014-08-13 16:26:38 +00:00
|
|
|
#ifndef LLVM_LIB_TARGET_SPARC_MCTARGETDESC_SPARCMCASMINFO_H
|
|
|
|
#define LLVM_LIB_TARGET_SPARC_MCTARGETDESC_SPARCMCASMINFO_H
|
2006-09-07 22:05:02 +00:00
|
|
|
|
2013-10-16 01:34:32 +00:00
|
|
|
#include "llvm/MC/MCAsmInfoELF.h"
|
2006-09-07 22:05:02 +00:00
|
|
|
|
|
|
|
namespace llvm {
|
2015-06-04 13:12:25 +00:00
|
|
|
class Triple;
|
2010-07-14 22:38:02 +00:00
|
|
|
|
2014-01-29 04:51:35 +00:00
|
|
|
class SparcELFMCAsmInfo : public MCAsmInfoELF {
|
2014-04-29 07:57:13 +00:00
|
|
|
void anchor() override;
|
2014-01-29 04:51:35 +00:00
|
|
|
public:
|
2015-06-04 13:12:25 +00:00
|
|
|
explicit SparcELFMCAsmInfo(const Triple &TheTriple);
|
2014-04-29 07:57:13 +00:00
|
|
|
const MCExpr*
|
|
|
|
getExprForPersonalitySymbol(const MCSymbol *Sym, unsigned Encoding,
|
|
|
|
MCStreamer &Streamer) const override;
|
|
|
|
const MCExpr* getExprForFDESymbol(const MCSymbol *Sym,
|
|
|
|
unsigned Encoding,
|
|
|
|
MCStreamer &Streamer) const override;
|
2014-01-29 06:59:20 +00:00
|
|
|
|
2014-01-29 04:51:35 +00:00
|
|
|
};
|
2006-09-07 22:05:02 +00:00
|
|
|
|
|
|
|
} // namespace llvm
|
|
|
|
|
|
|
|
#endif
|