[PATCH] D47167: Handle --plugin-opt= options as alias options.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 21 16:24:46 PDT 2018


pcc added a comment.

In https://reviews.llvm.org/D47167#1107249, @ruiu wrote:

> Sure, I think I can just use `Eq` instead of `J`, but I'd like to do that in a follow-up patch because the options without `=` are not handled now.


Are you sure? It certainly looks like they are handled, e.g.

  $ ra/bin/ld.lld -plugin-opt Of
  ra/bin/ld.lld: error: -plugin-opt=Of: number expected, but got 'f'
  ra/bin/ld.lld: error: target emulation unknown: -m or at least one .o file required


https://reviews.llvm.org/D47167





More information about the llvm-commits mailing list