PATCH: Report plugin symbol status
H.J. Lu
hjl.tools@gmail.com
Fri Mar 4 20:46:00 GMT 2011
On Thu, Mar 3, 2011 at 7:51 PM, Alan Modra <amodra@gmail.com> wrote:
> On Wed, Mar 02, 2011 at 07:39:34PM -0800, H.J. Lu wrote:
>> On Wed, Mar 2, 2011 at 4:45 PM, Dave Korn <dave.korn.cygwin@gmail.com> wrote:
>> > On 02/03/2011 19:55, H.J. Lu wrote:
>> >> Hi,
>> >>
>> >> This patch reports plugin symbol status for --verbose. It can
>> >> be used to debug LTO plugin symbol issues. OK for trunk?
>> >
>> > What sort of size inflation in the logfiles of a real-world link is this
>> > likely to cause? I would expect it to be a significant inflation, in which
>> > case maybe a separate option would be more convenient than changing the
>> > existing --verbose behaviour.
>> >
>>
>> I can add a new switch.
>
> Or give --verbose an optional arg, so you get the sym dump with
> --verbose=2.
>
Is this OK for trunk?
Thanks.
--
H.J
---
.2011-03-04 H.J. Lu <hongjiu.lu@intel.com>
* ld.texinfo: Document --verbose[=NUMBER].
* lexsup.c (ld_options): Update --verbose.
(parse_args): Set report_plugin_symbols.
* plugin.c (report_plugin_symbols): New.
(get_symbols): Report plugin symbols if report_plugin_symbols
is TRUE.
* plugin.h (report_plugin_symbols): New.
---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ld-plugin-verbose-1.pactch
Type: application/octet-stream
Size: 4317 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20110304/55e0e235/attachment.obj>
More information about the Binutils
mailing list