[llvm-commits] [llvm] r72700 - in /llvm/trunk/tools/lto: LTOModule.cpp LTOModule.h
Devang Patel
devang.patel at gmail.com
Tue Jun 2 13:32:18 PDT 2009
On Tue, Jun 2, 2009 at 12:04 PM, Duncan Sands <baldrick at free.fr> wrote:
>>>From the description, I think this is an issue of emulating some funny
>> linker hacks in LTO mode rather than an issue of actual linking. So
>> whether two files are linked with llvm-link has no effect on the
>> issue.
>
> Isn't LTO supposed to be more or less equivalent to: link using
> llvm-link, optimize using opt, codegen using llc?
No. In LTO mode, the linker collects and shares information from
bitcode files as well as from non-bitcode object files.
llvm-link+opt+llc path does not collect & share any info from non-bit
code file. Actually llvlm-link+opt+llc is essentially same as generate
bitcode+opt+llc in this regard.
> If so, that
> means that any hack needed for LTO should also be needed by one
> of llvm-link, opt or llc...
>
> Ciao,
>
> Duncan.
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
--
-
Devang
More information about the llvm-commits
mailing list