From: Ed Schouten Date: Sat, 13 Jun 2015 21:33:49 +0000 (+0000) Subject: Add some basic support for CloudABI on i686. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=460cfec1445b08d2bb2df80ed85d3840b01322d0;p=clang Add some basic support for CloudABI on i686. Some people want to experiment with building i686 CloudABI binaries. I am not entirely sure this is a good idea, as I'd rather see Intel x32 support appear. As it only requires a two-line change, let's at least provide compiler to ease experimenting. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@239689 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 6b4712a918..3100243f3f 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -7144,6 +7144,8 @@ static TargetInfo *AllocateTarget(const llvm::Triple &Triple) { return new DarwinI386TargetInfo(Triple); switch (os) { + case llvm::Triple::CloudABI: + return new CloudABITargetInfo(Triple); case llvm::Triple::Linux: { switch (Triple.getEnvironment()) { default: