Use BOLT.cmake and BOLT-PGO.cmake to run comprehensive
BOLT testing with Clang:
- clang-bolt instruments and optimizes 1st stage Clang built
with host GCC.
- stage2-clang-bolt uses optimized Clang to build 2nd stage
Clang (with PGO+LTO), then instruments/optimizes that binary.
This flow provides testing coverage of both clang-bolt-gcc
and clang-bolt-lto-pgo. BOLT is applied to GCC- and Clang-built
clang binary. Additionally, this extends BOLT testing by running
BOLT-optimized Clang to build 2nd stage Clang.
Do you need bolt twice in the name, at the beginning and at the end?