summaryrefslogtreecommitdiff
path: root/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.h
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2011-11-29 18:00:06 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2011-11-29 18:00:06 +0000
commit116bc795da4b10773235a89cc251d31651b3851d (patch)
tree27fb7aa0bd1b7d7fb8a67ea22da0484f158ec6a2 /lib/Target/X86/MCTargetDesc/X86MCAsmInfo.h
parentb0436a73054fe676b216a0cf872d1fc433125c62 (diff)
downloadllvm-116bc795da4b10773235a89cc251d31651b3851d.tar.gz
llvm-116bc795da4b10773235a89cc251d31651b3851d.tar.bz2
llvm-116bc795da4b10773235a89cc251d31651b3851d.tar.xz
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
Diffstat (limited to 'lib/Target/X86/MCTargetDesc/X86MCAsmInfo.h')
-rw-r--r--lib/Target/X86/MCTargetDesc/X86MCAsmInfo.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.h b/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.h
index 2cd4c8eb30..5d619e8b17 100644
--- a/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.h
+++ b/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.h
@@ -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