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 LLVM_LIB_TARGET_X86_MCTARGETDESC_X86MCASMINFO_H
15 #define LLVM_LIB_TARGET_X86_MCTARGETDESC_X86MCASMINFO_H
17 #include "llvm/MC/MCAsmInfo.h"
18 #include "llvm/MC/MCAsmInfoCOFF.h"
19 #include "llvm/MC/MCAsmInfoDarwin.h"
20 #include "llvm/MC/MCAsmInfoELF.h"
25 class X86MCAsmInfoDarwin : public MCAsmInfoDarwin {
26 void anchor() override;
28 explicit X86MCAsmInfoDarwin(const Triple &Triple);
31 struct X86_64MCAsmInfoDarwin : public X86MCAsmInfoDarwin {
32 explicit X86_64MCAsmInfoDarwin(const Triple &Triple);
34 getExprForPersonalitySymbol(const MCSymbol *Sym, unsigned Encoding,
35 MCStreamer &Streamer) const override;
38 class X86ELFMCAsmInfo : public MCAsmInfoELF {
39 void anchor() override;
41 explicit X86ELFMCAsmInfo(const Triple &Triple);
43 getNonexecutableStackSection(MCContext &Ctx) const override;
46 class X86MCAsmInfoMicrosoft : public MCAsmInfoMicrosoft {
47 void anchor() override;
49 explicit X86MCAsmInfoMicrosoft(const Triple &Triple);
52 class X86MCAsmInfoGNUCOFF : public MCAsmInfoGNUCOFF {
53 void anchor() override;
55 explicit X86MCAsmInfoGNUCOFF(const Triple &Triple);