[LLVMdev] How start with LLVM garbage collector?

Pedro Ferreira Pedro.Ferreira at imgtec.com
Mon Aug 23 01:31:05 PDT 2010


Afaik, llvm does not have a garbage collector of its own, you simply
link in a garbage collector that will hook into the "llvm_gc_*" function
calls. LDC uses Tango's garbage collection by linking malloc's and the
sorts to Tango's GC subsystem.

> -----Original Message-----
> From: llvmdev-bounces at cs.uiuc.edu 
> [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Borneq
> Sent: 22 August 2010 17:52
> To: llvmdev at cs.uiuc.edu
> Subject: [LLVMdev] How start with LLVM garbage collector?
> 
> 
> LLVM has GC possibility (llvm_gc_allocate). What compiler 
> uses it? I try ldc D compiler but it not uses LLVM garbage 
> collection but own in Tango library.
> --
> View this message in context: 
> http://old.nabble.com/How-start-with-LLVM-garbage-collector--t
p29505874p29505874.html
> Sent from the LLVM - Dev mailing list archive at Nabble.com.
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> 





More information about the llvm-dev mailing list