Object file questions

Johannes Pfau via D.gnu d.gnu at puremagic.com
Sat Aug 16 02:26:32 PDT 2014


Am Sat, 16 Aug 2014 08:39:04 +0000
schrieb "Timo Sintonen" <t.sintonen at luukku.com>:

> 
> > Regarding __Class: Can you post a short example?
> 
> Some lines from mapfile. Seems to be one for every type in the 
> program:
> 
>   .data          0x0000000020001074      0x720 
> minlibd/libdruntime/libdruntime.a(object_.o)
>                  0x0000000020001074                
> _D9Exception7__ClassZ
>                  0x00000000200010c0                
> _D8TypeInfo7__ClassZ
>                  0x000000002000110c                
> _D17TypeInfo_Function7__ClassZ
>                  0x0000000020001158                
> _D17TypeInfo_Delegate7__ClassZ
>                  0x00000000200011a4                
> _D14TypeInfo_Class7__ClassZ
>                  0x00000000200011f0                
> _D18TypeInfo_Interface7__ClassZ
>                  0x000000002000123c                
> _D15TypeInfo_Struct7__ClassZ
>                  0x0000000020001288                
> _D16TypeInfo_Typedef7__ClassZ
> 

I just had a look at this and ClassInfo has a mutable 'monitor' field,
so it can't be placed into read-only data.



More information about the D.gnu mailing list