2.063 merge

David Nadlinger code at klickverbot.at
Wed Jun 12 15:08:09 PDT 2013


On Wednesday, 12 June 2013 at 19:34:39 UTC, David Nadlinger wrote:
> Scrap that – the fact that we are not emitting the extra minfo 
> data is screwing up ModuleInfo iteration, which leads to no 
> module constructors being called at all.

If each LLVM module we generate would be emitted as an object 
file, this would be easy to resolve: Just emit 
_minfo_beg/_minfo_end and a constructor calling _d_dso_registry 
in module-level inline asm.

Still not quite clean on how to get this to work with IR-level 
linking…

David


More information about the digitalmars-d-ldc mailing list