]> granicus.if.org Git - clang/commitdiff
add support for amd64-*, patch by Brooks Davis!
authorChris Lattner <sabre@nondot.org>
Fri, 20 Feb 2009 17:04:14 +0000 (17:04 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 20 Feb 2009 17:04:14 +0000 (17:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65124 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Basic/Targets.cpp

index 7b6723befac4e27aa33f1e1368bde6a966a2b7ae..b2d4db184410e448dc29f44318f2d75f90160719 100644 (file)
@@ -1015,7 +1015,7 @@ TargetInfo* TargetInfo::CreateTargetInfo(const std::string &T) {
     return new SparcV8TargetInfo(T);
   }
 
-  if (T.find("x86_64-") == 0) {
+  if (T.find("x86_64-") == 0 || T.find("amd64-") == 0) {
     if (isDarwin)
       return new DarwinX86_64TargetInfo(T);
     if (isLinux)