[llvm] [SHT_LLVM_BB_ADDR_MAP] Adds pretty printing of BFI and BPI for PGO Analysis Map in tools. (PR #82292)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 23 01:06:50 PST 2024
================
@@ -159,6 +159,17 @@ The following options are implemented only for the ELF file format.
Display the contents of the basic block address map section(s), which contain the
address of each function, along with the relative offset of each basic block.
+ When pgo analysis maps are present, all analyses are printed as there raw
+ value.
+
+.. option:: --pretty-pgo-analysis-map
+
+ When pgo analysis maps are present in the basic block address map section(s),
+ analyses with special formats (i.e. BlockFrequency, BranchProbability, etc)
+ are printed using the same format as there respective analysis pass.
+
+ Requires ``--bb-addr-map`` to have an effect.
----------------
jh7370 wrote:
```suggestion
Requires :option:``--bb-addr-map`` to have an effect.
```
https://github.com/llvm/llvm-project/pull/82292
More information about the llvm-commits
mailing list