C++程序  |  37行  |  1.02 KB

//=====-- AArch64MCAsmInfo.h - AArch64 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 AArch64MCAsmInfo class.
//
//===----------------------------------------------------------------------===//

#ifndef AArch64TARGETASMINFO_H
#define AArch64TARGETASMINFO_H

#include "llvm/MC/MCAsmInfoDarwin.h"

namespace llvm {
class Target;
class StringRef;
class MCStreamer;
struct AArch64MCAsmInfoDarwin : public MCAsmInfoDarwin {
  explicit AArch64MCAsmInfoDarwin();
  const MCExpr *
  getExprForPersonalitySymbol(const MCSymbol *Sym, unsigned Encoding,
                              MCStreamer &Streamer) const override;
};

struct AArch64MCAsmInfoELF : public MCAsmInfo {
  explicit AArch64MCAsmInfoELF(StringRef TT);
};

} // namespace llvm

#endif