[Issue 9816] Export is mostly broken

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Aug 30 05:11:48 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9816



--- Comment #26 from Martin Nowak <code at dawg.eu> 2013-08-30 05:11:45 PDT ---
(In reply to comment #24)
> > I don't think the last point is too critical because exporting data is rarely
> > done and rather a bad practice.
> > Also this only applies to the API boundary which shouldn't be a performance
> > hotspot.
> 
> The digital mars linker is not capable of doing so. Also as stated on the
> newsgroup we will most likely not be able to use LTO of the mircosoft linker.
> Also this will not only affect to API bounadries, it will affect all accesses
> to global data: __gshared variables, shared variables, and all compiler
> internal global data symbols like module info, type info, vtables, etc. This is
> because without knowing what symbols are imported from a DLL we have to add the
> indirection to all of them.

No! This only applies to data that is marked as export. So you do know quite
well what could be imported.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list