mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-11 00:39:36 +00:00
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
This commit is contained in:
parent
2266ef3f5e
commit
6915854dd2
@ -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…
x
Reference in New Issue
Block a user