summaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86AsmBackend.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-08-04 15:32:40 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-08-04 15:32:40 +0000
commit56d23947ca935cdb575c896ec09978cae356dd2f (patch)
treeb95305cd0902d9684f88651edfd25249adede3a7 /lib/Target/X86/X86AsmBackend.cpp
parentb884666a38c2f4a09b8cd2368cec26010a28ca89 (diff)
downloadexternal_llvm-56d23947ca935cdb575c896ec09978cae356dd2f.zip
external_llvm-56d23947ca935cdb575c896ec09978cae356dd2f.tar.gz
external_llvm-56d23947ca935cdb575c896ec09978cae356dd2f.tar.bz2
Enable COFF writer on mingw32 and cygwin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110200 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86AsmBackend.cpp')
-rw-r--r--lib/Target/X86/X86AsmBackend.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/X86/X86AsmBackend.cpp b/lib/Target/X86/X86AsmBackend.cpp
index 881a933..248eeac 100644
--- a/lib/Target/X86/X86AsmBackend.cpp
+++ b/lib/Target/X86/X86AsmBackend.cpp
@@ -308,6 +308,8 @@ TargetAsmBackend *llvm::createX86_32AsmBackend(const Target &T,
switch (Triple(TT).getOS()) {
case Triple::Darwin:
return new DarwinX86_32AsmBackend(T);
+ case Triple::MinGW32:
+ case Triple::Cygwin:
case Triple::Win32:
return new WindowsX86AsmBackend(T);
default: