diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-06-11 10:01:42 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-06-11 10:01:42 +0000 |
commit | 6c921a55f4d5fc51a127fcc673ac1c9b46273899 (patch) | |
tree | 6ebbb0803c1e404043ca2dde3df58d289e392f0a /lib | |
parent | 55ab7315d04ce4f25a15e5cd50f6a23d950a00cf (diff) | |
download | external_llvm-6c921a55f4d5fc51a127fcc673ac1c9b46273899.zip external_llvm-6c921a55f4d5fc51a127fcc673ac1c9b46273899.tar.gz external_llvm-6c921a55f4d5fc51a127fcc673ac1c9b46273899.tar.bz2 |
Rework r183728, suppress assert(0) for now. Its behavior depends on assertions on win32 hosts.
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp b/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp index 1f0f9eb..8baa3a6 100644 --- a/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp +++ b/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp @@ -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); |