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

Shaw Young via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Jul 8 07:51:45 PDT 2024


================
@@ -35,6 +36,12 @@ std::string hashBlock(BinaryContext &BC, const BinaryBasicBlock &BB,
 
 std::string hashBlockLoose(BinaryContext &BC, const BinaryBasicBlock &BB);
 
+std::string hashBlockCalls(BinaryContext &BC, const BinaryBasicBlock &BB);
+
+std::string
+hashBlockCalls(const DenseMap<uint32_t, std::string *> &IdToFunctionName,
----------------
shawbyoung wrote:

You're right, references are more appropriate here

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


More information about the llvm-branch-commits mailing list