summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/Targets.cpp
diff options
context:
space:
mode:
authorEd Schouten <ed@nuxi.nl>2016-09-05 18:38:34 +0000
committerEd Schouten <ed@nuxi.nl>2016-09-05 18:38:34 +0000
commitc6d1a730a6a8a3b0b3983ec769830b455e0f80b0 (patch)
treefd55d95a6d1911019798318428309b9b9b580e8f /clang/lib/Basic/Targets.cpp
parent6dd4b3526a4ff3e6d7445b1a957e2660618af843 (diff)
downloadbcm5719-llvm-c6d1a730a6a8a3b0b3983ec769830b455e0f80b0.tar.gz
bcm5719-llvm-c6d1a730a6a8a3b0b3983ec769830b455e0f80b0.zip
Add support for targeting armv6-unknown-cloudabi-eabihf.
I'm in the progress of adding ARMv6 support to CloudABI. On the compiler side, everything seems to work properly with this tiny change applied. llvm-svn: 280672
Diffstat (limited to 'clang/lib/Basic/Targets.cpp')
-rw-r--r--clang/lib/Basic/Targets.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp
index 05afe215a7f..2252c6bb2f9 100644
--- a/clang/lib/Basic/Targets.cpp
+++ b/clang/lib/Basic/Targets.cpp
@@ -8261,6 +8261,8 @@ static TargetInfo *AllocateTarget(const llvm::Triple &Triple,
return new DarwinARMTargetInfo(Triple, Opts);
switch (os) {
+ case llvm::Triple::CloudABI:
+ return new CloudABITargetInfo<ARMleTargetInfo>(Triple, Opts);
case llvm::Triple::Linux:
return new LinuxTargetInfo<ARMleTargetInfo>(Triple, Opts);
case llvm::Triple::FreeBSD:
OpenPOWER on IntegriCloud