[cfe-dev] one more patch for bug 14275
David Fang
fang at csl.cornell.edu
Wed Nov 14 02:04:58 PST 2012
Hi,
Can the attached patch for clang be committed for fixing bug 14275
'unknown target triple unknown-apple-darwin8.11.0'?
Thanks.
Fang
--
David Fang
http://www.csl.cornell.edu/~fang/
-------------- next part --------------
Index: lib/Driver/Driver.cpp
===================================================================
--- lib/Driver/Driver.cpp (revision 167603)
+++ lib/Driver/Driver.cpp (working copy)
@@ -1677,6 +1687,8 @@
case llvm::Triple::IOS:
if (Target.getArch() == llvm::Triple::x86 ||
Target.getArch() == llvm::Triple::x86_64 ||
+ Target.getArch() == llvm::Triple::ppc ||
+ Target.getArch() == llvm::Triple::ppc64 ||
Target.getArch() == llvm::Triple::arm ||
Target.getArch() == llvm::Triple::thumb)
TC = new toolchains::DarwinClang(*this, Target);
More information about the cfe-dev
mailing list