[PATCH] D77776: [Driver] Drop support for FreeBSD < 10

2020-04-11 Thread Greg V via Phabricator via cfe-commits
myfreeweb added a comment. > But the default should indeed be either the host version yep, I've had this patch: --- lib/Support/Triple.cpp.orig 2020-04-10 20:51:46 UTC +++ lib/Support/Triple.cpp @@ -14,6 +14,9 @@ #include "llvm/Support/Host.h" #include

[PATCH] D77776: [Driver] Drop support for FreeBSD < 10

2020-04-09 Thread Dimitry Andric via Phabricator via cfe-commits
dim added a comment. In D6#1971543 , @arichardson wrote: > Alternatively, the checks could be changed to also handle OSMajorVersion == 0 > and translate that to 10. > This seems to be what NetBSD.cpp does. Darwin.cpp also infers the version > from

[PATCH] D77776: [Driver] Drop support for FreeBSD < 10

2020-04-09 Thread Alexander Richardson via Phabricator via cfe-commits
arichardson added a comment. Alternatively, the checks could be changed to also handle OSMajorVersion == 0 and translate that to 10. This seems to be what NetBSD.cpp does. Darwin.cpp also infers the version from the host when running on macos. Repository: rG LLVM Github Monorepo CHANGES

[PATCH] D77776: [Driver] Drop support for FreeBSD < 10

2020-04-09 Thread Jan Beich via Phabricator via cfe-commits
jbeich updated this revision to Diff 256202. jbeich added a comment. - Attempt to unbreak tests Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D6/new/ https://reviews.llvm.org/D6 Files: clang/lib/CodeGen/TargetInfo.cpp

[PATCH] D77776: [Driver] Drop support for FreeBSD < 10

2020-04-08 Thread Jan Beich via Phabricator via cfe-commits
jbeich created this revision. jbeich added reviewers: clang, dim. Herald added subscribers: cfe-commits, fedor.sergeev, krytarowski, arichardson, emaste. Herald added a project: clang. Downstream may naively translate between DSL and LLVM target triple. If OS version is lost in the process then