<div>Hello list,</div><div><br></div><div>On linux, ld has the following option:</div><div><br></div><div> --whole-archive</div><div> For each archive mentioned on the command line after the</div><div> --whole-archive option, include every object file in the archive in</div>
<div> the link, rather than searching the archive for the required object</div><div> files. This is normally used to turn an archive file into a shared</div><div> library, forcing every object to be included in the resulting</div>
<div> shared library. This option may be used more than once.</div><div><br></div><div>It would be convenient for similar functionality to exist in llvm-link for handling archive files being transformed into shared libraries. The equivalent functionality can be achieved in a straightforward manner by exploding the archive files first, but this makes integration into existing build systems difficult and/or tedious. </div>
<div><br></div><div>Generally speaking, is the goal of llvm-link to be full featured, or just to fill in as a bitcode linker for the time being?</div><div><br></div><div>-Nathan McCauley</div>