[LLVMdev] Whole program compile/link
Mike Stump
mrs at apple.com
Sun Jul 26 09:21:23 PDT 2009
On Jul 26, 2009, at 5:25 AM, Richard Pennington wrote:
> I suppose that an option would be to put the support stuff in a file
> that is linked in always and let the optimizer drop functions that
> aren't referenced. :-(
I like the idea of modeling this as a .a file, and then letting the
linker figure out that there are references to the routines and have
it pull them in. If your linker doesn't support this directly, you
can just bundle them all up and include in the `program'.
More information about the llvm-dev
mailing list