[LLVMdev] RFH: passing options from clang down to opt
Diego Novillo
dnovillo at google.com
Tue Oct 1 12:48:06 PDT 2013
On Tue, Oct 1, 2013 at 3:42 PM, Rafael EspĂndola
<rafael.espindola at gmail.com> wrote:
> You are calling the option -auto-profile in some places and
> -fauto-profile in others. Maybe it is just a typo?
In opt, the option is named '-auto-profile' when I instantiate the pass:
INITIALIZE_PASS(AutoProfile, "auto-profile", "Auto Profile loader", false,
false)
Do I need to name it fauto-profile as well?
I'm also not sure how to schedule the pass at a specific spot in the
pass manager. I've looked around for documentation on adding flags,
but all I found was
http://llvm.org/docs/WritingAnLLVMPass.html#pass-registration which
does not seem to discuss this.
Diego.
More information about the llvm-dev
mailing list