mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 02:29:18 +00:00
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
This commit is contained in:
parent
110b5209d9
commit
6a15b6a269
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user