https://bugs.llvm.org/show_bug.cgi?id=32613

Rui Ueyama <r...@google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
                 CC|                            |r...@google.com
             Status|NEW                         |RESOLVED

--- Comment #1 from Rui Ueyama <r...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to