[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/29505] xxx-w64-mingw32-objdump takes a long time to scan p

From: ralf.habacker at freenet dot de
Subject: [Bug binutils/29505] xxx-w64-mingw32-objdump takes a long time to scan pe binaries for debug information
Date: Fri, 26 Aug 2022 06:59:31 +0000


--- Comment #15 from Ralf Habacker <ralf.habacker at freenet dot de> ---
(In reply to Nick Clifton from comment #14)
> (In reply to Ralf Habacker from comment #13)
> > Since this probably results from the mass dumping of debug information in
> > plain text, which is discarded except for the details of the source files
> > used, I wonder whether an extension of objdump -W..., which only outputs the
> > source files used, could speed this up even more.
> I am guessing that such an option would not make a lot of difference,
> since the debug information will still have to be loaded and scanned.
> But that is not to say that it will not work, just that I am doubtful.

I tried -WL, which also returned filenames 

 time i686-w64-mingw32-objdump -WL  bin/assistant.exe > /dev/null   

and got 

real    0m0.178s
user    0m0.158s
sys     0m0.020s

which is much faster than the 4.3s quoted on
https://bugzilla.opensuse.org/show_bug.cgi?id=1202431#c8 when using -Wi and
makes me suspect that most of the time is spent printing the results.

Unfortunately, -WL cannot be used in its current form due to

> If you would care to put together a patch to implement the idea I
> would be happy to review it.

Thanks for you offer

> PS.  In the meantime, would it be OK if I closed this PR ?

yes, thanks for you support.

You are receiving this mail because:
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]