mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
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:
parent
9cd407b11c
commit
2c275b1f80
@ -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;
|
||||
}
|
||||
|
||||
|
@ -10,6 +10,10 @@
|
||||
; RUN: not llc -march=ppc32 -filetype=obj < %s > /dev/null 2> %t2
|
||||
; RUN: FileCheck %s < %t2
|
||||
|
||||
; Test that we don't try to produce COFF for ppc.
|
||||
; RUN: not llc -mtriple=powerpc-mingw32 -filetype=obj < %s > /dev/null 2> %t2
|
||||
; RUN: FileCheck %s < %t2
|
||||
|
||||
; SKIP: not llc -march=ppc64 < %s > /dev/null 2> %t3
|
||||
; SKIP: FileCheck %s < %t3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user