[Webkit-unassigned] [Bug 188986] [CMake] Add support for LTO builds

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 1 13:40:18 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=188986

Christopher Reid <chris.reid at sony.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chris.reid at sony.com
 Attachment #368700|                            |review?
              Flags|                            |

--- Comment #1 from Christopher Reid <chris.reid at sony.com> ---
Created attachment 368700

  --> https://bugs.webkit.org/attachment.cgi?id=368700&action=review

Patch

Support enabling LTO when building with clang.
This patch only enables it for clang currently because GCC hits an internal error when compiled with -flto.

This patch tries to use ld.lld when LTO_MODE is specified since gold doesn't recognize llvm bitcode by default. The LLVMgold.so plugin would need to be used for building LTO with clang and gold.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190501/a5c49b95/attachment.html>


More information about the webkit-unassigned mailing list