This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gc question


law@redhat.com writes:

> So lets say I wanted to like show me every GC allocation of a particular
> type which is still active at time X?
> 
> For example, I'd like to verify that if we GC after we leave the tree-ssa
> path that every SSA_NAME and every PHI is collected.  Or slightly more
> ambitious that every varray used by the SSA optimizers is gone.
> 
> Any chance of doing that?  Hints?

One way to do this is to walk over every visible object, like the
start of gt_pch_save (the part between the creation of saving_htab and
the first htab_traverse call), and see if any of them have the
characteristics you are interested in.o

-- 
- Geoffrey Keating <geoffk@geoffk.org>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]