ADT: windows itanium targets msvcrt.dll
authorSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 19 Nov 2014 21:55:31 +0000 (21:55 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 19 Nov 2014 21:55:31 +0000 (21:55 +0000)
Update the isOSMSVCRT to correctly identify that windows-itanium uses
msvcrt.dll.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222389 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/Triple.h

index 443239063c080825edf4bd3550358c3f96584822..fbc19f899d4ce5d2b10abad799dae383da8718f7 100644 (file)
@@ -397,7 +397,8 @@ public:
 
   /// \brief Is this a "Windows" OS targeting a "MSVCRT.dll" environment.
   bool isOSMSVCRT() const {
-    return isWindowsMSVCEnvironment() || isWindowsGNUEnvironment();
+    return isWindowsMSVCEnvironment() || isWindowsGNUEnvironment() ||
+           isWindowsItaniumEnvironment();
   }
 
   /// \brief Tests whether the OS is Windows.