blob: 942797840d56405719162d391abf0f883b7096b6 [file] [log] [blame]
Chris Lattner7b26fce2009-08-22 20:48:53 +00001//=====-- X86MCAsmInfo.h - X86 asm properties -----------------*- C++ -*--====//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file contains the declaration of the X86MCAsmInfo class.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef X86TARGETASMINFO_H
15#define X86TARGETASMINFO_H
16
17#include "llvm/MC/MCAsmInfo.h"
18#include "llvm/MC/MCAsmInfoCOFF.h"
19#include "llvm/MC/MCAsmInfoDarwin.h"
20
21namespace llvm {
22 class Triple;
23
Chris Lattner05457462009-08-22 21:03:30 +000024 struct X86MCAsmInfoDarwin : public MCAsmInfoDarwin {
25 explicit X86MCAsmInfoDarwin(const Triple &Triple);
Chris Lattner7b26fce2009-08-22 20:48:53 +000026 };
27
Rafael Espindolac5dac4d2011-04-28 16:09:09 +000028 struct X86_64MCAsmInfoDarwin : public X86MCAsmInfoDarwin {
29 explicit X86_64MCAsmInfoDarwin(const Triple &Triple);
30 virtual const MCExpr *
31 getExprForPersonalitySymbol(const MCSymbol *Sym,
32 MCStreamer &Streamer) const;
33 };
34
Chris Lattner7b26fce2009-08-22 20:48:53 +000035 struct X86ELFMCAsmInfo : public MCAsmInfo {
36 explicit X86ELFMCAsmInfo(const Triple &Triple);
Chris Lattner5418dd52010-04-08 21:26:26 +000037 virtual const MCSection *getNonexecutableStackSection(MCContext &Ctx) const;
Chris Lattner7b26fce2009-08-22 20:48:53 +000038 };
39
Chris Lattner05457462009-08-22 21:03:30 +000040 struct X86MCAsmInfoCOFF : public MCAsmInfoCOFF {
41 explicit X86MCAsmInfoCOFF(const Triple &Triple);
Chris Lattner7b26fce2009-08-22 20:48:53 +000042 };
Chris Lattner7b26fce2009-08-22 20:48:53 +000043} // namespace llvm
44
45#endif