summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2013-06-11 06:52:58 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2013-06-11 06:52:58 +0000
commit1ab3650ec0bfa70c1a96c3293a8275c17704ec0a (patch)
tree5b4cd6ba5a1ce0a1a4649fc96f3a7e62f29e5434 /llvm/lib/Target
parent76380ab4c0da5f4f748b0a0cf01395c59d44a075 (diff)
downloadbcm5719-llvm-1ab3650ec0bfa70c1a96c3293a8275c17704ec0a.tar.gz
bcm5719-llvm-1ab3650ec0bfa70c1a96c3293a8275c17704ec0a.zip
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? llvm-svn: 183728
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp b/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
index 2488b6bf0c8..1f0f9eb4687 100644
--- a/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
+++ b/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
@@ -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);
OpenPOWER on IntegriCloud