Rework r183728, suppress assert(0) for now. Its behavior depends on assertions on...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 11 Jun 2013 10:01:42 +0000 (10:01 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 11 Jun 2013 10:01:42 +0000 (10:01 +0000)
FIXME: Introduce yet another checker but assert(0).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183736 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
test/MC/ARM/arm-thumb-cpus-default.s
test/MC/ARM/arm-thumb-cpus.s

index 1f0f9eb46872990b6eedc9d4d8fb63b80d5e1600..8baa3a6ce6acc1b80211a77f9bc6a697bf71d764 100644 (file)
@@ -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);
index 040039f21543fcfbf288a14c70f66ca039b9f44c..636ee3c505710304021ba40ee845f6cd74935092 100644 (file)
@@ -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
index ea4e71a6acabf1da85fc0001a142262685e0d960..c15e807818647acda8d305e375a48599851af0f9 100644 (file)
@@ -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