[llvm] Implements PGOBBAddrMap in Object and ObjectYAML with tests [1/5] (PR #71750)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 21 01:02:45 PST 2023


================
@@ -110,9 +110,13 @@ class ELFObjectFileBase : public ObjectFile {
 
   /// Returns a vector of all BB address maps in the object file. When
   // `TextSectionIndex` is specified, only returns the BB address maps
-  // corresponding to the section with that index.
+  // corresponding to the section with that index. When `PGOAnalyses`is
+  // specified, the vector is cleared then filled with extra PGO data if the
+  // feature when enabled in the ELF section. `PGOAnalyses` will always be the
----------------
jh7370 wrote:

"if the feature when enabled in" looks slightly garbled.

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


More information about the llvm-commits mailing list