[llvm-commits] patch to llvm-link to link in archives

Stephen Checkoway s at pahtak.org
Fri Aug 10 08:39:08 PDT 2012


On Aug 10, 2012, at 2:33 AM, Kalle Raiskila wrote:

> 30.07.2012 22:04, ext Stephen Checkoway skrev:
>> 
>> While implementing the library search functionality, I ended up duplicating and
>> rearranging the code in Linker::FindLib() because that offered no way to prefer
>> dynamic libraries/require static libraries.
> 
> Why not edit Linker::FindLib() directly instead of duplicating it?

Editing Linker::FindLib() seemed like the right thing to do; however, I wasn't sure what the consequences of altering the library search order of the linker would be. Further, I had no idea what changing the api (to add the parameter to require static libraries) would entail.

-- 
Stephen Checkoway









More information about the llvm-commits mailing list