diff options
author | Chris Lattner <sabre@nondot.org> | 2009-02-20 17:04:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-02-20 17:04:14 +0000 |
commit | 54fefbe9931284c8b78e4cb1cd5f13038f480b9f (patch) | |
tree | cb430fe0d3ea99756a2134091f876eb3d8953abe /lib/Basic/Targets.cpp | |
parent | 3198be8ab531c5bcbbe48feedcb7280826d6c283 (diff) |
add support for amd64-*, patch by Brooks Davis!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65124 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/Targets.cpp')
-rw-r--r-- | lib/Basic/Targets.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 7b6723befa..b2d4db1844 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -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) |