projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
the x86 version of the name is x86-64, not x86_64. Handle this properly
[oota-llvm.git]
/
lib
/
Support
/
Triple.cpp
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;