[llvm-branch-commits] [llvm] [BOLT] Match blocks with calls as anchors (PR #96596)

Amir Ayupov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Jul 2 19:04:24 PDT 2024


================
@@ -70,12 +70,16 @@ class YAMLProfileReader : public ProfileReaderBase {
   std::vector<BinaryFunction *> ProfileBFs;
 
   /// Populate \p Function profile with the one supplied in YAML format.
-  bool parseFunctionProfile(BinaryFunction &Function,
-                            const yaml::bolt::BinaryFunctionProfile &YamlBF);
+  bool parseFunctionProfile(
+      const DenseMap<uint32_t, std::string *> &IdToFunctionName,
----------------
aaupov wrote:

Define the map as YAMLProfileReader member, with a comment about its use.

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


More information about the llvm-branch-commits mailing list