aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support/Triple.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/Triple.cpp')
-rw-r--r--lib/Support/Triple.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Support/Triple.cpp b/lib/Support/Triple.cpp
index 0407750..e5ee6d5 100644
--- a/lib/Support/Triple.cpp
+++ b/lib/Support/Triple.cpp
@@ -130,7 +130,8 @@ void Triple::Parse() const {
else if (ArchName == "powerpc64")
Arch = ppc64;
else if (ArchName == "arm" ||
- ArchName.startswith("armv"))
+ ArchName.startswith("armv") ||
+ ArchName == "xscale")
Arch = arm;
else if (ArchName == "thumb" ||
ArchName.startswith("thumbv"))