[llvm-branch-commits] [llvm] [BOLT] Add pseudo probe inline tree to YAML profile (PR #107137)

Lei Wang via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Sep 11 17:35:44 PDT 2024


================
@@ -58,8 +60,164 @@ const BinaryFunction *YAMLProfileWriter::setCSIDestination(
   return nullptr;
 }
 
+std::vector<YAMLProfileWriter::InlineTreeNode>
+YAMLProfileWriter::getInlineTree(const MCPseudoProbeDecoder &Decoder,
----------------
wlei-llvm wrote:

Is it possible to give a more explicit name? when I saw the getter/setter function, I feel it was simply get the raw data, but here it looks it does some processing things(or to add more comments to explain it).

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


More information about the llvm-branch-commits mailing list