[cfe-commits] r67166 - /cfe/trunk/lib/Driver/Driver.cpp
Daniel Dunbar
daniel at zuster.org
Tue Mar 17 21:41:47 PDT 2009
Author: ddunbar
Date: Tue Mar 17 23:41:46 2009
New Revision: 67166
URL: http://llvm.org/viewvc/llvm-project?rev=67166&view=rev
Log:
Driver: Add two normalizations for powerpc.
- PR3830
Modified:
cfe/trunk/lib/Driver/Driver.cpp
Modified: cfe/trunk/lib/Driver/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Driver.cpp?rev=67166&r1=67165&r2=67166&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Driver.cpp (original)
+++ cfe/trunk/lib/Driver/Driver.cpp Tue Mar 17 23:41:46 2009
@@ -860,6 +860,8 @@
Arch = "i386";
else if (Arch == "amd64")
Arch = "x86_64";
+ else if (Arch == "powerpc" || Arch == "Power Macintosh")
+ Arch = "ppc";
if (memcmp(&OS[0], "darwin", 6) == 0)
return createDarwinHostInfo(*this, Arch.c_str(), Platform.c_str(),
More information about the cfe-commits
mailing list