D examples

Leandro Lucarella luca at llucax.com.ar
Sun Aug 15 14:27:56 PDT 2010


Borneq, el 15 de agosto a las 22:28 me escribiste:
> Użytkownik "mwarning" <moritzwarning at web.de> napisał w wiadomości
> news:i44j4l$177i$1 at digitalmars.com...
> >Since ldc only supports D1/Tango, you can find examples on the Tango site:
> >http://dsource.org/projects/tango
> 
> I compile examples and look into generated *.ll but i can't find
> garbage collector function for LLVM like
> llvm_gc_allocate,llvm_gc_initialize
> (http://llvm.org/releases/1.9/docs/GarbageCollection.html) only
> variable name was %.newclass_gc_alloc

LDC doesn't use LLVM infrastructure for garbage collection.

PS: Also note that you're looking at very old LLVM documentation,
    current release is 2.7 and latest LDC release works with 2.6.

-- 
Leandro Lucarella (AKA luca)                     http://llucax.com.ar/
----------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------
I'm a rabbit in your headlights
Scared of the spotlight
You don't come to visit
I'm stuck on this bed


More information about the Digitalmars-d mailing list