Displaying 5 results from an estimated 5 matches for "process_plugin_option".
2016 May 30
0
[cfe-dev] How to debug if LTO generate wrong code?
...6:56, Mehdi Amini <mehdi.amini at apple.com> wrote:
>>
>>
>> On 05/30/16 01:34 PM, Rafael Espíndola <rafael.espindola at gmail.com> wrote:
>>
>> We don't use cl::opt in gold, instead we parse the -plugin-opts that
>> gold passes the plugin (see process_plugin_option).
>>
>> What about that:
>>
>> $ grep ParseCommandLineOptions tools/gold/gold-plugin.cpp
>>
>> // ParseCommandLineOptions() expects argv[0] to be program name.
>> Lazily
>>
>> cl::ParseCommandLineOptions(NumOpts, &options::extra[...
2016 May 30
1
[cfe-dev] How to debug if LTO generate wrong code?
On 05/30/16 01:34 PM, Rafael Espíndola <rafael.espindola at gmail.com> wrote:
>
> We don't use cl::opt in gold, instead we parse the -plugin-opts that
> gold passes the plugin (see process_plugin_option).
>
What about that:
$ grep ParseCommandLineOptions tools/gold/gold-plugin.cpp
// ParseCommandLineOptions () expects argv[0] to be program name. Lazily
cl:: ParseCommandLineOptions (NumOpts, &options::extra[0]);
--
Mehdi
>
>
> On 30 May 2016 at 02:13, Mehdi Amin...
2016 May 30
2
[cfe-dev] How to debug if LTO generate wrong code?
...;mehdi.amini at apple.com> wrote:
>>>
>>>
>>> On 05/30/16 01:34 PM, Rafael Espíndola <rafael.espindola at gmail.com> wrote:
>>>
>>> We don't use cl::opt in gold, instead we parse the -plugin-opts that
>>> gold passes the plugin (see process_plugin_option).
>>>
>>> What about that:
>>>
>>> $ grep ParseCommandLineOptions tools/gold/gold-plugin.cpp
>>>
>>> // ParseCommandLineOptions() expects argv[0] to be program name.
>>> Lazily
>>>
>>> cl::ParseCommandLineOptio...
2016 May 30
0
[cfe-dev] How to debug if LTO generate wrong code?
We don't use cl::opt in gold, instead we parse the -plugin-opts that
gold passes the plugin (see process_plugin_option).
Cheers,
Rafael
On 30 May 2016 at 02:13, Mehdi Amini <mehdi.amini at apple.com> wrote:
>
> On May 29, 2016, at 5:44 PM, Shi, Steven <steven.shi at intel.com> wrote:
>
> (And I doubt the GNU linker supports LTO with LLVM).
> [Steven]: I’ve pushed GNU Binutils ld to sup...
2016 May 30
7
[cfe-dev] How to debug if LTO generate wrong code?
> On May 29, 2016, at 5:44 PM, Shi, Steven <steven.shi at intel.com> wrote:
>
> (And I doubt the GNU linker supports LTO with LLVM).
> [Steven]: I’ve pushed GNU Binutils ld to support LLVM gold plugin, see detail in this bug https://sourceware.org/bugzilla/show_bug.cgi?id=20070 <https://sourceware.org/bugzilla/show_bug.cgi?id=20070>. The new GNU ld linker works well with