r209841 - Add documentation for -Rpass*

Diego Novillo dnovillo at google.com
Fri May 30 09:42:20 PDT 2014


On Thu, May 29, 2014 at 6:38 PM, Tobias Grosser <tobias at grosser.es> wrote:

>
> What doesa flag '-Rpass' without any further regex do? Does it map to
> '-Rpass=.*'?
>

It's currently an error.

clang-3.5: error: unknown argument: '-Rpass'


> Also, how is the user supposed to obtain the set of pass names that exist?
> Using the regex above?
>

This is impossible atm. I think I want to move to using the pass string
identifiers, so that we could add a -list-pass-names flag. But I've not
really thought about how to go about it. Currently, the crude workaround is
to use -Rpass=.* and see what names you get from the report.

Any ideas on how we could provide this?


Diego.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140530/5f2609ad/attachment.html>


More information about the cfe-commits mailing list