You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This doesn't apply to Windows because by default symbols are hidden in DLLs. On Unix like systems like Linux and Mac though there are a bunch of symbols exported that shouldn't be which increase startup time. There is a long and annoying process of marking symbols to export for the libraries but for the executables (which obviously shouldn't export any symbols unless they have a plugin system) the flag -fvisibility=hidden should be a cheap and easy optimization. Note that LLVM does not use runtime type information or exceptions so I believe there shouldn't be very many problems however, according to http://gcc.gnu.org/wiki/Visibility there also some other cases (for example, static data members of templates that can cause this problem). Using #pragma push for one's own code could be one way of quickly accomplishing this.
The text was updated successfully, but these errors were encountered:
Extended Description
This doesn't apply to Windows because by default symbols are hidden in DLLs. On Unix like systems like Linux and Mac though there are a bunch of symbols exported that shouldn't be which increase startup time. There is a long and annoying process of marking symbols to export for the libraries but for the executables (which obviously shouldn't export any symbols unless they have a plugin system) the flag -fvisibility=hidden should be a cheap and easy optimization. Note that LLVM does not use runtime type information or exceptions so I believe there shouldn't be very many problems however, according to http://gcc.gnu.org/wiki/Visibility there also some other cases (for example, static data members of templates that can cause this problem). Using #pragma push for one's own code could be one way of quickly accomplishing this.
The text was updated successfully, but these errors were encountered: