[llvm] [SHT_LLVM_BB_ADDR_MAP][AsmPrinter] Implements PGOAnalysisMap emitting in AsmPrinter with tests. (PR #75202)

Rahman Lavaee via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 15 05:41:02 PST 2023


================
@@ -451,6 +451,90 @@ Example:
    .uleb128  .LBB_END0_1-.LBB0_1          # BB_1 size
    .byte     y                            # BB_1 metadata
 
+PGO Analysis Map Extra Data
+"""""""""""""""""""""""""""
+
+PGO related analysis data can be emitted after each function within the
+BBAddrMap through the optional ``pgo-analysis-map`` flag. Supported analyses
----------------
rlavaee wrote:

``SHT_LLVM_BB_ADDR_MAP``

https://github.com/llvm/llvm-project/pull/75202


More information about the llvm-commits mailing list