зеркало из https://github.com/microsoft/clang-1.git
Hook up mipsel-netbsd and mipsel-freebsd for OS specific handling.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134425 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
fa9772b102
Коммит
94c9ce54bf
|
@ -2853,13 +2853,20 @@ static TargetInfo *AllocateTarget(const std::string &T) {
|
|||
}
|
||||
|
||||
case llvm::Triple::mipsel:
|
||||
if (os == llvm::Triple::Psp)
|
||||
switch (os) {
|
||||
case llvm::Triple::Psp:
|
||||
return new PSPTargetInfo<MipselTargetInfo>(T);
|
||||
if (os == llvm::Triple::Linux)
|
||||
case llvm::Triple::Linux:
|
||||
return new LinuxTargetInfo<MipselTargetInfo>(T);
|
||||
if (os == llvm::Triple::RTEMS)
|
||||
case llvm::Triple::RTEMS:
|
||||
return new RTEMSTargetInfo<MipselTargetInfo>(T);
|
||||
return new MipselTargetInfo(T);
|
||||
case llvm::Triple::FreeBSD:
|
||||
return new NetBSDTargetInfo<MipselTargetInfo>(T);
|
||||
case llvm::Triple::NetBSD:
|
||||
return new NetBSDTargetInfo<MipselTargetInfo>(T);
|
||||
default:
|
||||
return new MipsTargetInfo(T);
|
||||
}
|
||||
|
||||
case llvm::Triple::ppc:
|
||||
if (Triple.isOSDarwin())
|
||||
|
|
Загрузка…
Ссылка в новой задаче