[Issue 14555] New: ModuleInfo should weakly link against classes

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu May 7 15:00:10 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14555

          Issue ID: 14555
           Summary: ModuleInfo should weakly link against classes
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: DMD
          Assignee: nobody at puremagic.com
          Reporter: code at dawg.eu

Currently all classes of a module are dragged into a statically linked binary
because ModuleInfos contain a list of all declared classes (for
Object.factory).
This linkage should be done weakly instead.

This does not affect shared libraries because those always contain all
declarations.

--


More information about the Digitalmars-d-bugs mailing list