mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-16 11:30:51 +00:00
99c3e481f3
This makes MCAsmInfo::getExprForFDESymbol() a virtual function and overrides it in SparcMCAsmInfo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200376 91177308-0d34-0410-b5e6-96231b3b80d8
38 lines
1.2 KiB
C++
38 lines
1.2 KiB
C++
//===-- SparcMCAsmInfo.h - Sparc asm properties ----------------*- C++ -*--===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file contains the declaration of the SparcMCAsmInfo class.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef SPARCTARGETASMINFO_H
|
|
#define SPARCTARGETASMINFO_H
|
|
|
|
#include "llvm/MC/MCAsmInfoELF.h"
|
|
|
|
namespace llvm {
|
|
class StringRef;
|
|
|
|
class SparcELFMCAsmInfo : public MCAsmInfoELF {
|
|
virtual void anchor();
|
|
public:
|
|
explicit SparcELFMCAsmInfo(StringRef TT);
|
|
virtual const MCExpr* getExprForPersonalitySymbol(const MCSymbol *Sym,
|
|
unsigned Encoding,
|
|
MCStreamer &Streamer) const;
|
|
virtual const MCExpr* getExprForFDESymbol(const MCSymbol *Sym,
|
|
unsigned Encoding,
|
|
MCStreamer &Streamer) const;
|
|
|
|
};
|
|
|
|
} // namespace llvm
|
|
|
|
#endif
|