mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-12 05:56:28 +00:00
Rework r183728, suppress assert(0) for now. Its behavior depends on assertions on win32 hosts.
FIXME: Introduce yet another checker but assert(0). llvm-svn: 183736
This commit is contained in:
parent
2b26ef36f1
commit
bc128ca9be
@ -680,8 +680,11 @@ MCAsmBackend *llvm::createARMAsmBackend(const Target &T, StringRef TT, StringRef
|
||||
return new DarwinARMAsmBackend(T, TT, CS);
|
||||
}
|
||||
|
||||
#if 0
|
||||
// FIXME: Introduce yet another checker but assert(0).
|
||||
if (TheTriple.isOSBinFormatCOFF())
|
||||
llvm_unreachable("Windows not supported on ARM");
|
||||
assert(0 && "Windows not supported on ARM");
|
||||
#endif
|
||||
|
||||
uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(Triple(TT).getOS());
|
||||
return new ELFARMAsmBackend(T, TT, OSABI);
|
||||
|
@ -5,9 +5,6 @@
|
||||
@ RUN: llvm-mc -show-encoding -triple=armv7m < %s | FileCheck %s --check-prefix=CHECK-THUMB-ONLY
|
||||
@ RUN: llvm-mc -show-encoding -triple=armv6m < %s | FileCheck %s --check-prefix=CHECK-THUMB-ONLY
|
||||
|
||||
@ FIXME: Could we avoid XFAIL to specify triple above?
|
||||
@ XFAIL: cygwin,mingw32,win32
|
||||
|
||||
@ Make sure the architecture chosen by LLVM defaults to a compatible
|
||||
@ ARM/Thumb mode.
|
||||
movs r0, r0
|
||||
|
@ -5,9 +5,6 @@
|
||||
@ RUN: llvm-mc -show-encoding -triple=armv7m < %s 2>&1 | FileCheck %s --check-prefix=CHECK-THUMB-ONLY
|
||||
@ RUN: llvm-mc -show-encoding -triple=armv6m < %s 2>&1 | FileCheck %s --check-prefix=CHECK-THUMB-ONLY
|
||||
|
||||
@ FIXME: Could we avoid XFAIL to specify triple above?
|
||||
@ XFAIL: cygwin,mingw32,win32
|
||||
|
||||
@ Make sure correct diagnostics are given for CPUs without support for
|
||||
@ one or other of the execution states.
|
||||
.thumb
|
||||
|
Loading…
Reference in New Issue
Block a user