[PATCH] D79371: [ELF] Add convenience TableGen classes to enforce two dashes for options not supported by GNU ld

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 5 09:08:35 PDT 2020


tejohnson added a comment.

Since this is a lot of options that in some cases may have been used for some time (e.g. many the -thinlto-* ones have been supported for a few years now), it might be worth an announcement on llvm-dev so no one is surprised that their build scripts need updating.



================
Comment at: lld/ELF/Options.td:537
   HelpText<"Path to ThinLTO cached object file directory">;
 defm thinlto_cache_policy: Eq<"thinlto-cache-policy", "Pruning policy for the ThinLTO cache">;
+def thinlto_emit_imports_files: FF<"thinlto-emit-imports-files">;
----------------
What about this one, looks like Eq takes both dash forms.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79371





More information about the llvm-commits mailing list