gh-89536: Use ThinLTO policy if possible (gh-96766)

This commit is contained in:
Dong-hee Na 2022-09-16 19:40:05 +09:00 committed by GitHub
parent 16c33a9676
commit e47b96c44f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 99 additions and 6 deletions

View file

@ -232,6 +232,9 @@ also be used to improve performance.
.. versionadded:: 3.11
To use ThinLTO feature, use ``--with-lto=thin`` on Clang.
.. versionchanged:: 3.12
Use ThinLTO as the default optimization policy on Clang if the compiler accepts the flag.
.. cmdoption:: --enable-bolt
Enable usage of the `BOLT post-link binary optimizer