llvm-mirror/tools/llvm-shlib
Sylvestre Ledru 528fdc71c2 [Solaris] enable --whole-archive for shared-library build, disable --version-script for Solaris-ld
Shared-library build on Solaris requires --whole-archive to be specified (option accepted by all available linkers).

At the same time, --version-script can not be handled by Solaris-ld, so it should be skipped.
-M is of no use here, since there is no syntax in Solaris-ld mapfiles that allows to version all global symbols,
not just the named ones (at least this is my impression from digging deep into the docs).

Patch by Fedor Sergeev <fedor.sergeev@oracle.com>

llvm-svn: 308490
2017-07-19 16:07:51 +00:00
..
CMakeLists.txt [Solaris] enable --whole-archive for shared-library build, disable --version-script for Solaris-ld 2017-07-19 16:07:51 +00:00
libllvm.cpp llvm-shlib: Remove the option to override __cxa_atexit 2016-03-14 21:54:45 +00:00
simple_version_script.map.in Add a linker script to version LLVM symbols 2017-04-17 20:51:50 +00:00