rengolin added inline comments.

================
Comment at: lib/Driver/Tools.cpp:4254
@@ -4253,2 +4253,3 @@
   if (getToolChain().getArch() == llvm::Triple::aarch64 ||
-      getToolChain().getArch() == llvm::Triple::aarch64_be)
+      getToolChain().getArch() == llvm::Triple::aarch64_be ||
+      getToolChain().getArch() == llvm::Triple::arm ||
----------------
This could use the TargetParser to match the arch. If it's not invalid, it's 
ARM. Or a switch, maybe.


Repository:
  rL LLVM

http://reviews.llvm.org/D12148



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to