1 //=====-- X86MCAsmInfo.h - X86 asm properties -----------------*- C++ -*--====//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file contains the declaration of the X86MCAsmInfo class.
12 //===----------------------------------------------------------------------===//
14 #ifndef X86TARGETASMINFO_H
15 #define X86TARGETASMINFO_H
17 #include "llvm/MC/MCAsmInfo.h"
18 #include "llvm/MC/MCAsmInfoCOFF.h"
19 #include "llvm/MC/MCAsmInfoDarwin.h"
24 struct X86MCAsmInfoDarwin
: public MCAsmInfoDarwin
{
25 explicit X86MCAsmInfoDarwin(const Triple
&Triple
);
28 struct X86_64MCAsmInfoDarwin
: public X86MCAsmInfoDarwin
{
29 explicit X86_64MCAsmInfoDarwin(const Triple
&Triple
);
30 virtual const MCExpr
*
31 getExprForPersonalitySymbol(const MCSymbol
*Sym
,
33 MCStreamer
&Streamer
) const;
36 struct X86ELFMCAsmInfo
: public MCAsmInfo
{
37 explicit X86ELFMCAsmInfo(const Triple
&Triple
);
38 virtual const MCSection
*getNonexecutableStackSection(MCContext
&Ctx
) const;
41 struct X86MCAsmInfoCOFF
: public MCAsmInfoCOFF
{
42 explicit X86MCAsmInfoCOFF(const Triple
&Triple
);