[PATCH] Add -l option to llvm-link and allow linking by resolving symbols
Stanislav Mekhanoshin
stanislav.mekhanoshin at amd.com
Fri Apr 25 11:05:21 PDT 2014
The "smart linking" is not a completely new concept for native linkers, even if library is organized in an archive. A big translation unit may have many symbols with just a few really needed. Even if we change our own libraries we could not stop developers from building large modules. Probably adding this as a mode for core linker would be not a best idea, but having this as a separate tool seems to be a good idea at least for me, especially if we already have this code.
Stas
http://reviews.llvm.org/D3459
More information about the llvm-commits
mailing list