llvm-6502/lib/Linker
Chris Lattner 4bbfbff119 Take advantage of the fact that we are allowed to clobber the input module
by splicing function bodies from the src module to the destination module.

This speeds up linking quite a bit, e.g. gccld time on 176.gcc from 26s -> 20s
when forming the .rbc file, with a profile build.  One of the really strange
but cool effects of this patch is that it speeds up the optimizers as well,
from 12s -> 10.7s, presumably because of better locality???

In any case, this is just a first step.  We can trivially get rid of the
LocalMap now and do other simplifications.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17893 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-16 07:31:51 +00:00
..
LinkArchives.cpp Per code review:\ 2004-11-16 06:47:41 +00:00
LinkModules.cpp Take advantage of the fact that we are allowed to clobber the input module 2004-11-16 07:31:51 +00:00
Makefile Don't bother with a re-linked library, ensure archive library is built. 2004-11-14 22:03:14 +00:00