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

           Summary: [ELF] export should affect symbol visibility
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Martin Nowak <[email protected]> 2013-04-06 18:38:20 PDT ---
There are a number of good reasons to switch to explicit export,
i.e. normal symbols use hidden visibility and exported symbols use default
visibility.

- Windows compatibility
- less performance impact for PIC as only exported symbols require an
indirection
- faster symbol lookup reduces the load time
- more possibilities for link time optimizations
- inlining visible functions breaks interposition

For a more detailed reading see
http://gcc.gnu.org/wiki/Visibility
http://www.akkadia.org/drepper/dsohowto.pdf

NB:
As of now libphobos2.so exports 14100 symbols and 87139 with unittests compiled
in.

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

Reply via email to