bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/20070] LLVM gold plugin(LLVMgold.so) report Unexpected resolutio


From: hjl.tools at gmail dot com
Subject: [Bug ld/20070] LLVM gold plugin(LLVMgold.so) report Unexpected resolution failure on ld when LTO, but pass on gold
Date: Wed, 18 May 2016 12:12:10 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=20070

--- Comment #11 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Steven Shi from comment #10)
> LLVM guys say "LTO is linker specific, clang is only forwarding the option
> to the linker here." see below discussion about "How to debug if LTO
> generate wrong code?":
> http://lists.llvm.org/pipermail/cfe-dev/2016-May/048906.html
> 
> So it looks, if I compile my llvm bitcode without any optimization level
> (-O0) and pass them to linker to finish the LTO build, all the optimizations
> are done only by the linker, not llvm.
> 
> Is it right?

LTO stands for link-time optimization.  -On is passed back to llvm LTO
plugin.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]