[PATCH] D14999: MC: Warn on .xxx_version_min <-> target triple version mismatch
Matthias Braun via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 25 15:04:21 PST 2015
MatzeB added a comment.
In http://reviews.llvm.org/D14999#296979, @t.p.northover wrote:
> This might be a bit overzealous. A simple "clang -arch armv7s myfile.s" defaults to an ios5.0 triple rather than an unspecified version, but I'd prefer not to have to tell clang both on the command-line and in a directive about the version (and to have to keep them in sync).
The intention was to not perform the check if no version was specified on the commandline, but if there is no way to tell if we have an explicitely specified version or a default in the target triple for the "clang -cc1as" invocation, then I guess there is no way to produce a warning without false positives here.
Repository:
rL LLVM
http://reviews.llvm.org/D14999
More information about the llvm-commits
mailing list