[llvm-commits] [llvm] r138291 - /llvm/trunk/lib/Support/Triple.cpp
Ivan Krasin
krasin at chromium.org
Mon Aug 22 16:08:53 PDT 2011
Author: krasin
Date: Mon Aug 22 18:08:53 2011
New Revision: 138291
URL: http://llvm.org/viewvc/llvm-project?rev=138291&view=rev
Log:
Add NativeClient support to Triple::ParseOS.
Modified:
llvm/trunk/lib/Support/Triple.cpp
Modified: llvm/trunk/lib/Support/Triple.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Triple.cpp?rev=138291&r1=138290&r2=138291&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Triple.cpp (original)
+++ llvm/trunk/lib/Support/Triple.cpp Mon Aug 22 18:08:53 2011
@@ -356,6 +356,8 @@
return Minix;
else if (OSName.startswith("rtems"))
return RTEMS;
+ else if (OSName.startswith("nacl"))
+ return NativeClient;
else
return UnknownOS;
}
More information about the llvm-commits
mailing list