diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-06-11 06:52:43 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-06-11 06:52:43 +0000 |
commit | 6915854dd27bfedd2bc261cb19b148557670b98c (patch) | |
tree | 5d40b77bc37a4e4309a0e85bfe89cf27381f28ea /lib | |
parent | 2266ef3f5e7608d0ae491acd77b755b171cc6475 (diff) | |
download | external_llvm-6915854dd27bfedd2bc261cb19b148557670b98c.zip external_llvm-6915854dd27bfedd2bc261cb19b148557670b98c.tar.gz external_llvm-6915854dd27bfedd2bc261cb19b148557670b98c.tar.bz2 |
ARMAsmBackend.cpp: Use Triple::isOSBinFormatCOFF() instead of isOSWindows().
FYI, isOSBinFormatCOFF() is as same as isOSWindows(), on trunk.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183727 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 5ef9314..2488b6b 100644 --- a/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp +++ b/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp @@ -680,7 +680,7 @@ MCAsmBackend *llvm::createARMAsmBackend(const Target &T, StringRef TT, StringRef return new DarwinARMAsmBackend(T, TT, CS); } - if (TheTriple.isOSWindows()) + if (TheTriple.isOSBinFormatCOFF()) assert(0 && "Windows not supported on ARM"); uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(Triple(TT).getOS()); |