projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9249a92
)
the x86 version of the name is x86-64, not x86_64. Handle this properly
author
Chris Lattner
<sabre@nondot.org>
Wed, 12 Aug 2009 06:45:02 +0000
(06:45 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 12 Aug 2009 06:45:02 +0000
(06:45 +0000)
in getArchTypeForLLVMName.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78799
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/Triple.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/Triple.cpp
b/lib/Support/Triple.cpp
index a81fb5b58d611508a625547befd38c9c9943e3b4..65af29602ff97bfb566b3f6e52b8fff254e8f328 100644
(file)
--- a/
lib/Support/Triple.cpp
+++ b/
lib/Support/Triple.cpp
@@
-99,7
+99,7
@@
Triple::ArchType Triple::getArchTypeForLLVMName(const StringRef &Name) {
return thumb;
if (Name == "x86")
return x86;
- if (Name == "x86
_
64")
+ if (Name == "x86
-
64")
return x86_64;
if (Name == "xcore")
return xcore;