[llvm-branch-commits] [llvm] [BOLT] Use BAT for YAML profile call target information (PR #86219)

Maksim Panchenko via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Apr 5 15:18:49 PDT 2024


================
@@ -161,6 +164,10 @@ class BoltAddressTranslation {
   /// Map a function to its secondary entry points vector
   std::unordered_map<uint64_t, std::vector<uint32_t>> SecondaryEntryPointsMap;
 
+  /// Translates a given \p Symbol into a BinaryFunction and
+  /// Returns a secondary entry point id for a given \p Address and \p Offset.
----------------
maksfb wrote:

```suggestion
  /// Return a secondary entry point ID for a function located at \p Address and \p Offset within that function.
```

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


More information about the llvm-branch-commits mailing list