| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[BOLT][Docs] Add Sphinx documentation Add stub Sphinx documentation, with configuration copy-pasted from lld and index page converted from bolt/README.md. Reviewed By: #bolt, rafauler Differential Revision: https://reviews.llvm.org/D140156 | 3 年前 | |
[BOLT][BAT] Add entries for deleted basic blocks Deleted basic blocks are required for correct mapping of branches modified by SCTC. Increases BAT size, bytes: - large binary: 8622496 -> 8703244. - small binary (X86/bolt-address-translation.test): 928 -> 940. Test Plan: updated bb-with-two-tail-calls.s Reviewers: ayermolo, dcci, maksfb, rafaelauler Reviewed By: rafaelauler Pull Request: https://github.com/llvm/llvm-project/pull/91906 | 2 年前 | |
[bolt] Fix typos discovered by codespell (#124726) https://github.com/codespell-project/codespell bash codespell bolt --skip="*.yaml,Maintainers.txt" --write-changes \ --ignore-words-list=acount,alledges,ans,archtype,defin,iself,mis,mmaped,othere,outweight,vas | 9 个月前 | |
[Documentation] Always use SVG for dot-generated doxygen images. (#136843) Despite our attempt (build-docs.sh) to build the documentation with SVG, it still uses PNG https://llvm.org/doxygen/classllvm_1_1StringRef.html, and that renders terribly on any high dpi display. SVG leads to smasller installation and works fine on all browser (that has been true for _a while_ https://caniuse.com/svg), so this patch just unconditionally build all dot graphs as SVG in all subprojects and remove the option. | 1 年前 | |
[BOLT][NFC] Clean up the outdated option --write-dwp in doc (#166150) Since the "--write-dwp" option has been removed in [PR](https://github.com/llvm/llvm-project/pull/100771), this patch also cleans up the corresponding document and test to avoid misleading issues. | 8 个月前 | |
Rebase: Merge BOLT codebase in monorepo Summary: This commit is the first step in rebasing all of BOLT history in the LLVM monorepo. It also solves trivial build issues by updating BOLT codebase to use current LLVM. There is still work left in rebasing some BOLT features and in making sure everything is working as intended. History has been rewritten to put BOLT in the /bolt folder, as opposed to /tools/llvm-bolt. (cherry picked from FBD33289252) | 5 年前 | |
[BOLT][docs] Expand Heatmaps.md (#98162) Improve documentation on heatmaps. Add example for X axis labels. | 2 年前 | |
[BOLT] Add --ba flag to deprecate --nl (#164257) The --nl flag, originally for Non-LBR mode, is deprecated and will be replaced by --basic-events (alias --ba). --nl remains as a deprecated alias for backward compatibility. | 9 个月前 | |
[BOLT][NFC] Use brstack in guides and user outputs (#163950) Update guides to use brstack, with a mention to BRBE for AArch64. Use brstack in user-facing outputs. --------- Co-authored-by: Amir Ayupov <aaupov@fb.com> | 9 个月前 | |
[BOLT][NFC] Use brstack in guides and user outputs (#163950) Update guides to use brstack, with a mention to BRBE for AArch64. Use brstack in user-facing outputs. --------- Co-authored-by: Amir Ayupov <aaupov@fb.com> | 9 个月前 | |
Reapply "[BOLT][AArch64] Handle OpNegateRAState to enable optimizing binaries with pac-ret hardening" (#162353) (#162435) Reapply "[BOLT][AArch64] Handle OpNegateRAState to enable optimizing binaries with pac-ret hardening (#120064)" (#162353) This reverts commit c7d776b06897567e2d698e447d80279664b67d47. #120064 was reverted for breaking builders. Fix: changed the mismatched type in MarkRAStates.cpp to auto. --- Original message: OpNegateRAState is an AArch64-specific DWARF CFI used to change the value of the RA_SIGN_STATE pseudoregister. The RA_SIGN_STATE register records whether the current return address has been signed with PAC. OpNegateRAState requires special handling in BOLT because its placement depends on the function layout. Since BOLT reorders basic blocks during optimization, these CFIs must be regenerated after layout is finalized. This patch introduces two new passes: - MarkRAStates (runs before optimizations): assigns a signedness annotation to each instruction based on OpNegateRAState CFIs in the input binary. - InsertNegateRAStates (runs after optimizations): reads the annotations and emits new OpNegateRAState CFIs where RA state changes between instructions. Design details are described in: bolt/docs/PacRetDesign.md. | 9 个月前 | |
[BOLT][Docs] Add Sphinx documentation Add stub Sphinx documentation, with configuration copy-pasted from lld and index page converted from bolt/README.md. Reviewed By: #bolt, rafauler Differential Revision: https://reviews.llvm.org/D140156 | 3 年前 | |
[bolt] Fix typos discovered by codespell (#124726) https://github.com/codespell-project/codespell bash codespell bolt --skip="*.yaml,Maintainers.txt" --write-changes \ --ignore-words-list=acount,alledges,ans,archtype,defin,iself,mis,mmaped,othere,outweight,vas | 9 个月前 | |
[NFC][Py Reformat] Reformat python files in the rest of the dirs This is an ongoing series of commits that are reformatting our Python code. This catches the last of the python files to reformat. Since they where so few I bunched them together. Reformatting is done with black. If you end up having problems merging this commit because you have made changes to a python file, the best way to handle that is to run git checkout --ours <yourfile> and then reformat it with black. If you run into any problems, post to discourse about it and we will try to help. RFC Thread below: https://discourse.llvm.org/t/rfc-document-and-standardize-python-code-style Reviewed By: jhenderson, #libc, Mordante, sivachandra Differential Revision: https://reviews.llvm.org/D150784 | 3 年前 | |
[BOLT][DOCS] Link to README instead of the github page in Doxygen Summary: Link to the README page built with the rest of the documentation, a future-proof solution. (cherry picked from FBD33357870) | 4 年前 | |
[bolt] Fix typos discovered by codespell (#124726) https://github.com/codespell-project/codespell bash codespell bolt --skip="*.yaml,Maintainers.txt" --write-changes \ --ignore-words-list=acount,alledges,ans,archtype,defin,iself,mis,mmaped,othere,outweight,vas | 9 个月前 | |
fix(bolt/**.py): fix comparison to None (#94012) from PEP8 (https://peps.python.org/pep-0008/#programming-recommendations): > Comparisons to singletons like None should always be done with is or is not, never the equality operators. Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com> | 1 年前 | |
[BOLT] Add --ba flag to deprecate --nl (#164257) The --nl flag, originally for Non-LBR mode, is deprecated and will be replaced by --basic-events (alias --ba). --nl remains as a deprecated alias for backward compatibility. | 9 个月前 |
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.