BOLT
BOLT is a post-link optimizer developed to speed up large applications. It achieves the improvements by optimizing application's code layout based on execution profile gathered by sampling profiler, such as Linux
perf
tool.
BOLT can operate on any binary with a symbol table, but for maximum gains
it utilizes relocations saved by a linker (--emit-relocs
).NOTE: current support is limited to non-PIC/non-PIE X86-64 and AArch64 ELF binaries.