MC/X86/COFF: Allow quotes in names when targeting MS/Windows,

as MC is the only assembler we support.

This splits MS/Windows and GNU/Windows ASM infos into two seperate classes.
While there is currently only one difference, full MS C++ ABI support will
require many more.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145409 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Michael J. Spencer
2011-11-29 18:00:06 +00:00
parent b0436a7305
commit 116bc795da
6 changed files with 58 additions and 5 deletions

View File

@@ -38,8 +38,12 @@ namespace llvm {
virtual const MCSection *getNonexecutableStackSection(MCContext &Ctx) const;
};
struct X86MCAsmInfoCOFF : public MCAsmInfoCOFF {
explicit X86MCAsmInfoCOFF(const Triple &Triple);
struct X86MCAsmInfoMicrosoft : public MCAsmInfoMicrosoft {
explicit X86MCAsmInfoMicrosoft(const Triple &Triple);
};
struct X86MCAsmInfoGNUCOFF : public MCAsmInfoGNUCOFF {
explicit X86MCAsmInfoGNUCOFF(const Triple &Triple);
};
} // namespace llvm