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

--- Comment #10 from Steven Shi <steven.shi at intel dot com> ---
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?

-- 
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

Reply via email to