mirror of
https://github.com/intel/llvm.git
synced 2026-01-25 10:55:58 +08:00
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. llvm-svn: 239689
This commit is contained in:
@@ -7144,6 +7144,8 @@ static TargetInfo *AllocateTarget(const llvm::Triple &Triple) {
|
||||
return new DarwinI386TargetInfo(Triple);
|
||||
|
||||
switch (os) {
|
||||
case llvm::Triple::CloudABI:
|
||||
return new CloudABITargetInfo<X86_32TargetInfo>(Triple);
|
||||
case llvm::Triple::Linux: {
|
||||
switch (Triple.getEnvironment()) {
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user