On 11.01.2014 21:30, Jacob Carlborg wrote:
On 2014-01-11 10:30, Rainer Schuetze wrote:
I was thinking about using the proposed module info extension to
generate data similar to RTInfo by interpreting global/tls data of a
module as a struct with type info. I don't know if this is feasable.
You mean this: https://github.com/D-Programming-Language/dmd/pull/2271 ?
I really hope this can be merged sometime.
Yes. I'm not sure if there is enough compiler support yet to figure out
the global and TLS data layout of a module, especially for a static
library where the module is split into a lot of object files.