| Shih-wei Liao | e264f62 | 2010-02-10 11:10:31 -0800 | [diff] [blame] | 1 | //=====-- 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 | |
| 21 | namespace llvm { |
| 22 | class Triple; |
| 23 | |
| 24 | struct X86MCAsmInfoDarwin : public MCAsmInfoDarwin { |
| 25 | explicit X86MCAsmInfoDarwin(const Triple &Triple); |
| 26 | }; |
| 27 | |
| 28 | struct X86ELFMCAsmInfo : public MCAsmInfo { |
| 29 | explicit X86ELFMCAsmInfo(const Triple &Triple); |
| Shih-wei Liao | 7abe37e | 2010-04-28 01:47:00 -0700 | [diff] [blame] | 30 | virtual const MCSection *getNonexecutableStackSection(MCContext &Ctx) const; |
| Shih-wei Liao | e264f62 | 2010-02-10 11:10:31 -0800 | [diff] [blame] | 31 | }; |
| 32 | |
| 33 | struct X86MCAsmInfoCOFF : public MCAsmInfoCOFF { |
| 34 | explicit X86MCAsmInfoCOFF(const Triple &Triple); |
| 35 | }; |
| Shih-wei Liao | e264f62 | 2010-02-10 11:10:31 -0800 | [diff] [blame] | 36 | } // namespace llvm |
| 37 | |
| 38 | #endif |