Add support for CloudABI/aarch64.

The core C library has already been ported over to aarch64 successfully,
meaning there is no reason to hold this change back.

llvm-svn: 250416
This commit is contained in:
Ed Schouten 2015-10-15 15:07:07 +00:00
parent 72d44b1b09
commit ea9448e468
1 changed files with 2 additions and 0 deletions

View File

@ -7364,6 +7364,8 @@ static TargetInfo *AllocateTarget(const llvm::Triple &Triple) {
return new DarwinAArch64TargetInfo(Triple);
switch (os) {
case llvm::Triple::CloudABI:
return new CloudABITargetInfo<AArch64leTargetInfo>(Triple);
case llvm::Triple::FreeBSD:
return new FreeBSDTargetInfo<AArch64leTargetInfo>(Triple);
case llvm::Triple::Linux: