[dmd-internals] AAs in the dmd backend

Robert Clipsham robert at octarineparrot.com
Thu Apr 1 02:11:02 PDT 2010


On 01/04/10 05:11, Walter Bright wrote:
> There is an AA implementation in backend/aa.c that should do the job.
>
> But I thought the dwarf implementation already caches already used types?

If you look at the implementation it only caches the used types if they 
are basic types, it doesn't cache for function pointers, so will 
regenerate the debug info and trample on the debug info that it wasn't 
done writing. A quick Ctrl+F for typeidx_tab in dwarf.c will confirm this.



More information about the dmd-internals mailing list