Add a new fdata profile mode accepting symbol names as-is. It addresses the UX gap surfaced by #208313 that all methods of selecting functions to process (symbolized profile types, `-funcs*` options) expect disambiguated local symbols. Introduce fdata mode activated by a `symbols` header line, where each subsequent line is a (mangled) symbol name. The names are matched against restored function names (with disambiguation suffix stripped), and every matching function gets an execution count of 1. This can be used to drive selective instrumentation (`--instrument-hot-only`) or basic linker-script style optimizations. Symbols are stored as branch entry data so matching reuses the existing default branch profile path. Test Plan: Update docs/profiles.md and add profile-symbols-mode.s |
||
|---|---|---|
| .. | ||
| _static | ||
| BAT.md | ||
| BinaryAnalysis.md | ||
| BOLTAArch64OptimizationStatus.md | ||
| CMakeLists.txt | ||
| CommandLineArgumentReference.md | ||
| conf.py | ||
| doxygen-mainpage.dox | ||
| doxygen.cfg.in | ||
| generate_doc.py | ||
| GettingStarted.md | ||
| Heatmap.png | ||
| HeatmapHeader.png | ||
| Heatmaps.md | ||
| index.md | ||
| OptimizingClang.md | ||
| OptimizingLinux.md | ||
| PointerAuthDesign.md | ||
| profiles.md | ||
| README.txt | ||
| RuntimeLibrary.md | ||
BOLT Documentation ==================== The BOLT documentation is written using the Sphinx documentation generator. It is currently tested with Sphinx 1.1.3. To build the documents into html configure BOLT with the following cmake options: * -DLLVM_ENABLE_SPHINX=ON * -DBOLT_INCLUDE_DOCS=ON After configuring BOLT with these options the make rule `docs-bolt-html` should be available.