diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-08-04 15:32:40 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-08-04 15:32:40 +0000 |
commit | 56d23947ca935cdb575c896ec09978cae356dd2f (patch) | |
tree | b95305cd0902d9684f88651edfd25249adede3a7 /lib/Target/X86/X86AsmBackend.cpp | |
parent | b884666a38c2f4a09b8cd2368cec26010a28ca89 (diff) | |
download | external_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.cpp | 2 |
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: |