mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-23 22:23:00 +00:00
Target triple OS detection tidyup. NFC
Use Triple::isOS*() helpers where possible. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222960 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -414,7 +414,7 @@ static void InitLibcallNames(const char **Names, const Triple &TT) {
|
||||
Names[RTLIB::SINCOS_PPCF128] = nullptr;
|
||||
}
|
||||
|
||||
if (TT.getOS() != Triple::OpenBSD) {
|
||||
if (!TT.isOSOpenBSD()) {
|
||||
Names[RTLIB::STACKPROTECTOR_CHECK_FAIL] = "__stack_chk_fail";
|
||||
} else {
|
||||
// These are generally not available.
|
||||
|
||||
Reference in New Issue
Block a user