Bug #96410 Add support for PGO with Clang
Submitted: 2 Aug 2019 11:08 Modified: 5 Aug 2019 14:00
Reporter: Jon Olav Hauglid Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:8.0.19 OS:Any
Assigned to: CPU Architecture:Any

[2 Aug 2019 11:08] Jon Olav Hauglid
Description:
Currently PGO (profile guided optimization) is only supported for GCC.
We should add support for Clang as well, since Clang is a supported compiler.

How to repeat:
n/a
[5 Aug 2019 14:00] Paul DuBois
Posted by developer:
 
Fixed in 8.0.19.

New FPROFILE_GENERATE and FPROFILE_USE CMake options are available
for experimenting with profile guided optimization (PGO) with GCC.
See the cmake/fprofile.cmake in a MySQL source distribution for
information about using them. These options have been tested with GCC
8 and 9, and with Clang.