================ @@ -158,15 +164,35 @@ template <> struct MappingTraits<bolt::BinaryBasicBlockProfile> { std::vector<bolt::CallSiteInfo>()); YamlIO.mapOptional("succ", BBP.Successors, std::vector<bolt::SuccessorInfo>()); - YamlIO.mapOptional("pseudo_probes", BBP.PseudoProbes, + YamlIO.mapOptional("probes", BBP.PseudoProbes, std::vector<bolt::PseudoProbeInfo>()); } }; +namespace bolt { +struct InlineTreeInfo { ---------------- wlei-llvm wrote:
Is this to represent only a node or the whole tree? if it's a node, maybe rename it `InlineTreeNode`? (Or is it because there is a name conflict, then maybe rename this to `YamlInlineTreeNode`?) https://github.com/llvm/llvm-project/pull/107137 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits