diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-06-11 06:52:58 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-06-11 06:52:58 +0000 |
commit | c139672407b6ad8d2929fd0c52591216fd32b4b6 (patch) | |
tree | 3b040e9c39c1dc3b68f1d5f52a7529c3be6a1301 /lib | |
parent | 6915854dd27bfedd2bc261cb19b148557670b98c (diff) | |
download | external_llvm-c139672407b6ad8d2929fd0c52591216fd32b4b6.zip external_llvm-c139672407b6ad8d2929fd0c52591216fd32b4b6.tar.gz external_llvm-c139672407b6ad8d2929fd0c52591216fd32b4b6.tar.bz2 |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp b/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp index 2488b6b..1f0f9eb 100644 --- a/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp +++ b/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); |