2012-02-18 20:03:15 +08:00
|
|
|
//===-- SparcMCAsmInfo.h - Sparc asm properties ----------------*- C++ -*--===//
|
2006-09-08 06:05:02 +08:00
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
2007-12-30 04:36:04 +08:00
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
2006-09-08 06:05:02 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
2009-08-23 04:48:53 +08:00
|
|
|
// This file contains the declaration of the SparcMCAsmInfo class.
|
2006-09-08 06:05:02 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2014-08-14 00:26:38 +08:00
|
|
|
#ifndef LLVM_LIB_TARGET_SPARC_MCTARGETDESC_SPARCMCASMINFO_H
|
|
|
|
#define LLVM_LIB_TARGET_SPARC_MCTARGETDESC_SPARCMCASMINFO_H
|
2006-09-08 06:05:02 +08:00
|
|
|
|
2013-10-16 09:34:32 +08:00
|
|
|
#include "llvm/MC/MCAsmInfoELF.h"
|
2006-09-08 06:05:02 +08:00
|
|
|
|
|
|
|
namespace llvm {
|
2014-01-29 12:51:35 +08:00
|
|
|
class StringRef;
|
2010-07-15 06:38:02 +08:00
|
|
|
|
2014-01-29 12:51:35 +08:00
|
|
|
class SparcELFMCAsmInfo : public MCAsmInfoELF {
|
2014-04-29 15:57:13 +08:00
|
|
|
void anchor() override;
|
2014-01-29 12:51:35 +08:00
|
|
|
public:
|
|
|
|
explicit SparcELFMCAsmInfo(StringRef TT);
|
2014-04-29 15:57:13 +08: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 14:59:20 +08:00
|
|
|
|
2014-01-29 12:51:35 +08:00
|
|
|
};
|
2006-09-08 06:05:02 +08:00
|
|
|
|
|
|
|
} // namespace llvm
|
|
|
|
|
|
|
|
#endif
|