This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gc question
On Nov 21, 2003, at 3:26 PM, law@redhat.com wrote:
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?
I have a collector that is based on the zone collector that can do
this, because it marks each allocation with the typecode (by having a
ton of different ggc_alloc macros).
Other than that, you probably can't do this easily.
--Dan