2009-08-22 20:58:17 +00:00
|
|
|
//===---- MCAsmInfoDarwin.h - Darwin 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 defines target asm properties related what form asm statements
|
|
|
|
// should take in general on Darwin-based targets
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef LLVM_DARWIN_TARGET_ASM_INFO_H
|
|
|
|
#define LLVM_DARWIN_TARGET_ASM_INFO_H
|
|
|
|
|
|
|
|
#include "llvm/MC/MCAsmInfo.h"
|
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
class GlobalValue;
|
|
|
|
class GlobalVariable;
|
|
|
|
class Type;
|
|
|
|
class Mangler;
|
|
|
|
|
2009-08-22 21:03:30 +00:00
|
|
|
struct MCAsmInfoDarwin : public MCAsmInfo {
|
2010-01-20 06:34:14 +00:00
|
|
|
explicit MCAsmInfoDarwin();
|
2011-04-28 16:09:09 +00:00
|
|
|
virtual const MCExpr *
|
|
|
|
getExprForPersonalitySymbol(const MCSymbol *Sym,
|
|
|
|
MCStreamer &Streamer) const;
|
2009-08-22 20:58:17 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endif // LLVM_DARWIN_TARGET_ASM_INFO_H
|