forked from OSchip/llvm-project
ARMAsmBackend.cpp: Use Triple::isOSBinFormatCOFF() instead of isOSWindows().
FYI, isOSBinFormatCOFF() is as same as isOSWindows(), on trunk. llvm-svn: 183727
This commit is contained in:
parent
8018a29d06
commit
76380ab4c0
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue