bpo-44340: Add support for building with clang full/thin lto (GH-27231)

This commit is contained in:
Dong-hee Na 2021-07-19 19:52:56 +09:00 committed by GitHub
parent 635bfe8162
commit b2cf2513f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 107 additions and 33 deletions

View file

@ -171,7 +171,7 @@ recommended for best performance.
.. versionadded:: 3.8
.. cmdoption:: --with-lto
.. cmdoption:: --with-lto=[full|thin|no|yes]
Enable Link Time Optimization (LTO) in any build (disabled by default).
@ -180,6 +180,9 @@ recommended for best performance.
.. versionadded:: 3.6
.. versionadded:: 3.11
To use ThinLTO feature, use ``--with-lto=thin`` on Clang.
.. cmdoption:: --with-computed-gotos
Enable computed gotos in evaluation loop (enabled by default on supported