summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2012-12-01 15:40:20 +0100
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2012-12-01 15:41:43 +0100
commitdd0d4df3d60a2040d9ea90ddf7616282bfc91cb5 (patch)
treea562dd6a273e777bd09452c306a47913ea232ed1
parentf933ab3d6d0d1218bf5f575ae2f5de6f657d23ca (diff)
downloadllvm-dd0d4df3d60a2040d9ea90ddf7616282bfc91cb5.tar.gz
llvm-dd0d4df3d60a2040d9ea90ddf7616282bfc91cb5.tar.bz2
llvm-dd0d4df3d60a2040d9ea90ddf7616282bfc91cb5.tar.xz
ARM: also support musl c library based triple
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org> (cherry picked from commit 88e1a833c45dfcf881462516c1c3f2bc5d13cf19)
-rw-r--r--lib/Support/Triple.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Support/Triple.cpp b/lib/Support/Triple.cpp
index a6a6378004..2e0f462c3c 100644
--- a/lib/Support/Triple.cpp
+++ b/lib/Support/Triple.cpp
@@ -292,6 +292,7 @@ static Triple::EnvironmentType parseEnvironment(StringRef EnvironmentName) {
.StartsWith("gnueabihf", Triple::GNUEABIHF)
.StartsWith("gnueabi", Triple::GNUEABI)
.StartsWith("uclibceabi", Triple::GNUEABI)
+ .StartsWith("musleabi", Triple::GNUEABI)
.StartsWith("gnu", Triple::GNU)
.StartsWith("macho", Triple::MachO)
.StartsWith("android", Triple::Android)