[LLVMdev] Re: Garbage collection questions

Sandro Magi naasking at gmail.com
Wed Mar 15 05:30:47 PST 2006

On 3/14/06, Chris Lattner <sabre at nondot.org> wrote:
> On Tue, 14 Mar 2006, Sandro Magi wrote:
> >> consider all pointers to be in scope, without causing any "dead" pointers
> >> to mark objects.
> >
> > Does this mean some pointers from the roots might be null?
> Well sure, if they are null.  e.g.:
> int *X = NULL;
> X would be null.  Is that what you mean?

I think I was just confused with the code-generator magic that manages
the roots. It's clear now. :-)


More information about the llvm-dev mailing list