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

Davide Italiano via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jul 5 14:18:52 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,
----------------
dcci wrote:

how come here you're using pointers to strings rather than references?

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


More information about the llvm-branch-commits mailing list