r239689 - Add some basic support for CloudABI on i686.
Ed Schouten
ed at nuxi.nl
Sat Jun 13 14:33:49 PDT 2015
Author: ed
Date: Sat Jun 13 16:33:49 2015
New Revision: 239689
URL: http://llvm.org/viewvc/llvm-project?rev=239689&view=rev
Log:
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.
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=239689&r1=239688&r2=239689&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Sat Jun 13 16:33:49 2015
@@ -7144,6 +7144,8 @@ static TargetInfo *AllocateTarget(const
return new DarwinI386TargetInfo(Triple);
switch (os) {
+ case llvm::Triple::CloudABI:
+ return new CloudABITargetInfo<X86_32TargetInfo>(Triple);
case llvm::Triple::Linux: {
switch (Triple.getEnvironment()) {
default:
More information about the cfe-commits
mailing list