[llvm-bugs] [Bug 32613] LLD COFF /LTCG option not supported
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Apr 10 17:49:21 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=32613
Rui Ueyama <ruiu at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WONTFIX
CC| |ruiu at google.com
Status|NEW |RESOLVED
--- Comment #1 from Rui Ueyama <ruiu at google.com> ---
The /LTCG option is to make the linker generate code at link-time. This needs
coordination between a compiler and a linker. MSVC's cl.exe and link.exe uses
some intermediate representation of code to generate code. And that
intermediate code is highly compiler-dependent. So it is not supported by our
compiler nor linker.
We instead support LTO (link-time optimization) which is the same feature as
LTCG. Just like cl.exe and link.exe, you need to use clang-cl.exe and
lld-link.exe to use LTO.
You want to use LTO instead of LTCG.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170411/bce4042e/attachment.html>
More information about the llvm-bugs
mailing list