[m-rev.] diff: reduce the size of debug-grade .c files
Fergus Henderson
fjh at cs.mu.OZ.AU
Wed Mar 10 16:52:22 AEDT 2004
On 10-Mar-2004, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> On 10-Mar-2004, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> >> The third technique is reduce the length of the names of the data structures
> >> containing common cells and their types, by reducing the length of their
> >> prefixes and module qualify them only if we have to, and deleting the
> >> duplicate mercury_ prefixes from the names of some debugger data structures.
> >
> > Won't that change break the demanglers
> > (util/mdemangle.c and profiler/demangle.m)?
>
> No. The one in util is for link errors.
Not only. It is also for general purpose use, e.g.
nm libfoo.so | mdemangle | less
which can be useful when analyzing space usage.
> util/mdemangle.c has never had
> any code to recognize their names; there is no recognition code to update.
What about the code at the "not_plain_mercury:" label in demangle()?
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list