[cfe-commits] r141308 - /cfe/trunk/lib/Driver/ToolChains.cpp

Bob Wilson bob.wilson at apple.com
Thu Oct 6 13:27:38 PDT 2011


Author: bwilson
Date: Thu Oct  6 15:27:38 2011
New Revision: 141308

URL: http://llvm.org/viewvc/llvm-project?rev=141308&view=rev
Log:
Add a missing check for cortex-a9.

Modified:
    cfe/trunk/lib/Driver/ToolChains.cpp

Modified: cfe/trunk/lib/Driver/ToolChains.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains.cpp?rev=141308&r1=141307&r2=141308&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains.cpp (original)
+++ cfe/trunk/lib/Driver/ToolChains.cpp Thu Oct  6 15:27:38 2011
@@ -156,7 +156,8 @@
       Value == "cortex-m0" )
     return "armv6";
 
-  if (Value == "cortex-a8" || Value == "cortex-r4" || Value == "cortex-m3")
+  if (Value == "cortex-a8" || Value == "cortex-r4" || Value == "cortex-m3" ||
+      Value == "cortex-a9")
     return "armv7";
 
   return 0;





More information about the cfe-commits mailing list