[Libreoffice] [PUSHED] Re: [PATCH] And another one

Michael Meeks michael.meeks at novell.com
Mon Nov 29 13:05:33 PST 2010


On Mon, 2010-11-29 at 20:04 +0000, Caolán McNamara wrote:
> There's another, (in my opinion more interesting), class of dead-code
> and that's the stuff that's compiled in but isn't called by anything.

	Ah yes.

> I've yet to get in gear and get up-to-date runs for LibreOffice, but see
> http://people.redhat.com/caolanm/callcatcher/DEV300_m87/ for my last OOo
> callcatcher run. e.g. approx 170 apparently juicy unused methods in
> calc.

	We had an Easy Hack for that:

http://wiki.documentfoundation.org/Development/Easy_Hacks#call-catcher_.2F_bloat_removal

	Though it clearly needed more detail: I've added a bit more, and a link
to your reports, as well as shifting it up the running order: perhaps
we'll get some interested people :-)

> Though caveats apply and manual double checking is required to see why
> nothing calls them. They might be called only under some ifdefs, or by
> some tricky means like dlopen/dlsym (which is only likely to happen for
> C symbols and not C++ symbols, noone in their right mind dlsyms 

	Sure :-)

	ATB,

		Michael.

-- 
 michael.meeks at novell.com  <><, Pseudo Engineer, itinerant idiot




More information about the LibreOffice mailing list