[LLVMdev] Re: Garbage collection questions

Sandro Magi naasking at gmail.com
Wed Mar 15 05:28:50 PST 2006

On 3/14/06, Chris Lattner <sabre at nondot.org> wrote:
> By the way, how are you testing this?  Do you have a front-end that is
> outputing garbage collected code?  If so, it would be very cool to include
> it and your garbage collector with the LLVM distribution, assuming they
> are smallish.

I'm not working on a front-end, so right now refcount.c has only been
thoroughly inspected by eye. I'd appreciate any ideas for tests I can
run, particularly ones that would also be useful for other GCs.

> Alternatively, when you get happy with your refcount'd collector and are
> convinced that it is working right, lemme know and we can include just it
> with mainline LLVM.  Having a working GC implementation would be a great
> help to people using the LLVM GC hooks.

That'd be great. Perhaps we can reach this point with a sufficiently
comprehensive test suite of some sort.


More information about the llvm-dev mailing list