================ @@ -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 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits