[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:47:41 PDT 2018


pcc added a comment.

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

> Ouch. I don't know if there's a good way to handle options in that style. One way of doing it is to iterate over argv before passing it to OptParser to concatenate `--plugin-opt` and the following option with `=`. It doesn't feel that bad, but I'm not very sure if that's a good thing to do.


Yeah that doesn't seem great, but it's the best that I can think of as well.


https://reviews.llvm.org/D47167





More information about the llvm-commits mailing list