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. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils