Displaying 3 results from an estimated 3 matches for "66c559ac".
2013 Oct 01
0
[LLVMdev] RFH: passing options from clang down to opt
The option handling in clang in fairly different from opt. The comment
about the mixed name was just a guess as to why you don't see the
driver passing it down to -cc1.
Once that is working, you will probably need to:
* Patch ParseCodeGenArgs to record the option
* Patch EmitAssemblyHelper::CreatePasses to set the option to enable
the pass in the pass manager (assuming that is the effect
2013 Oct 01
2
[LLVMdev] RFH: passing options from clang down to opt
...Does it look like it's in the
right direction?
Thanks. Diego.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 00.diff
Type: application/octet-stream
Size: 3804 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131001/66c559ac/attachment.obj>
2013 Oct 01
2
[LLVMdev] RFH: passing options from clang down to opt
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,