[m-rev.] for review: fix bug #67

Peter Wang novalazy at gmail.com
Thu Jul 15 13:20:48 AEST 2010


On 2010-07-15, Julien Fischer <juliensf at csse.unimelb.edu.au> wrote:
> 
> On Thu, 15 Jul 2010, Julien Fischer wrote:
> 
> >
> >On Thu, 15 Jul 2010, Peter Wang wrote:
> >
> >>An alternative fix would be to modify mprof to ignore those entries.
> >>---
> >>
> >>Branches: main, 10.04
> >>
> >>Fix bug #67.
> >>
> >>runtime/mercury_prof.c:
> >>       Don't write out entries for do_call_closure_* and
> >>       do_call_class_method_* into Prof.Decl.  These produce
> >>duplicates which
> >>       causes mprof when trying to read it in, yet are ignored
> >>for profiling
> >>       anyway.
...
> 
> Actually, ignore that.

Actually, it appears the underlying problem is that
mercury_ho_call_inits.i and mercury_method_call_inits.i can be generated
with duplicate MR_init_entry_an() lines -- probably due to make -jN.

Peter
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list