diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-08-28 03:04:02 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-08-28 03:04:02 +0000 |
commit | 6a15b6a269e79a8382348812ac32221fdc25b7ca (patch) | |
tree | 47870a88bb074b688ce014852b0b32e8f8d41810 /lib/Target/X86/X86Subtarget.h | |
parent | 110b5209d92f224050f2755539bda8f1d801f94b (diff) | |
download | external_llvm-6a15b6a269e79a8382348812ac32221fdc25b7ca.zip external_llvm-6a15b6a269e79a8382348812ac32221fdc25b7ca.tar.gz external_llvm-6a15b6a269e79a8382348812ac32221fdc25b7ca.tar.bz2 |
X86Subtarget.h: Recognize x86_64-cygwin.
In the LLVM side, x86_64-cygwin is almost as same as x86_64-mingw32.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189436 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86Subtarget.h')
-rw-r--r-- | lib/Target/X86/X86Subtarget.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Target/X86/X86Subtarget.h b/lib/Target/X86/X86Subtarget.h index 0c1e999..14048cf 100644 --- a/lib/Target/X86/X86Subtarget.h +++ b/lib/Target/X86/X86Subtarget.h @@ -328,14 +328,11 @@ public: bool isTargetEnvMacho() const { return TargetTriple.isEnvironmentMachO(); } bool isTargetWin64() const { - // FIXME: x86_64-cygwin has not been released yet. return In64BitMode && TargetTriple.isOSWindows(); } bool isTargetWin32() const { - // FIXME: Cygwin is included for isTargetWin64 -- should it be included - // here too? - return !In64BitMode && (isTargetMingw() || isTargetWindows()); + return !In64BitMode && (isTargetCygMing() || isTargetWindows()); } bool isPICStyleSet() const { return PICStyle != PICStyles::None; } |