[PATCH] D85474: Add -fbinutils-version= to gate ELF features on the specified binutils version

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 14 00:23:07 PDT 2020


jhenderson added a comment.

Looks like there's only an `llc` test, but the option is in clang too? Should we have a test there?

Is there any documentation for clang this option needs adding to? Also, this likely deserves a release note, I feel.



================
Comment at: clang/include/clang/Driver/Options.td:3307-3310
+def fbinutils_version_EQ : Joined<["-"], "fbinutils-version=">, Group<f_Group>,
+  HelpText<"Produced object files can use ELF features only supported by ld newer than the specified version. If"
+  "-fno-integrated-as is specified, produced assembly can use newer ELF features. "
+  "'future' means that features not implemented by any known release can be used">;
----------------
It might be helpful to indicate what the default is.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85474/new/

https://reviews.llvm.org/D85474



More information about the llvm-commits mailing list