[llvm] r222389 - ADT: windows itanium targets msvcrt.dll

Saleem Abdulrasool compnerd at compnerd.org
Wed Nov 19 13:55:31 PST 2014


Author: compnerd
Date: Wed Nov 19 15:55:31 2014
New Revision: 222389

URL: http://llvm.org/viewvc/llvm-project?rev=222389&view=rev
Log:
ADT: windows itanium targets msvcrt.dll

Update the isOSMSVCRT to correctly identify that windows-itanium uses
msvcrt.dll.

Modified:
    llvm/trunk/include/llvm/ADT/Triple.h

Modified: llvm/trunk/include/llvm/ADT/Triple.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/Triple.h?rev=222389&r1=222388&r2=222389&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/Triple.h (original)
+++ llvm/trunk/include/llvm/ADT/Triple.h Wed Nov 19 15:55:31 2014
@@ -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.





More information about the llvm-commits mailing list