Note that we don't support COFF on PPC.

Should bring back the windows bots.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232701 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2015-03-19 02:40:56 +00:00
parent 9cd407b11c
commit 2c275b1f80
2 changed files with 11 additions and 0 deletions

View File

@@ -453,6 +453,13 @@ static Triple::ObjectFormatType getDefaultFormat(const Triple &T) {
case Triple::sparcv9:
case Triple::systemz:
case Triple::xcore:
case Triple::ppc64le:
return Triple::ELF;
case Triple::ppc:
case Triple::ppc64:
if (T.isOSDarwin())
return Triple::MachO;
return Triple::ELF;
}