mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
Tweak a couple of tests on win32 hosts with +Asserts.
- Don't use assert(0), or tests may pass or fail according to assertions. - For now, The tests are marked as XFAIL for win32 hosts. FIXME: Could we avoid XFAIL to specify triple in the RUN lines? git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183728 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6915854dd2
commit
c139672407
@ -681,7 +681,7 @@ MCAsmBackend *llvm::createARMAsmBackend(const Target &T, StringRef TT, StringRef
|
||||
}
|
||||
|
||||
if (TheTriple.isOSBinFormatCOFF())
|
||||
assert(0 && "Windows not supported on ARM");
|
||||
llvm_unreachable("Windows not supported on ARM");
|
||||
|
||||
uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(Triple(TT).getOS());
|
||||
return new ELFARMAsmBackend(T, TT, OSABI);
|
||||
|
@ -5,6 +5,9 @@
|
||||
@ 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,6 +5,9 @@
|
||||
@ 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