[llvm] [BOLT] Expose pseudo probe function checksum (PR #99389)
Lei Wang via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 17 14:55:45 PDT 2024
================
@@ -2256,6 +2260,11 @@ class BinaryFunction {
/// Returns the last computed hash value of the function.
size_t getHash() const { return Hash; }
+ /// Returns the function hash from pseudo-probe description of the function.
+ size_t getPseudoProbeDescHash() const { return PseudoProbeDescHash; }
----------------
wlei-llvm wrote:
Is this intentional to use `size_t`? looks all other places use `uint64_t` for pseudo-probe hash.
https://github.com/llvm/llvm-project/pull/99389
More information about the llvm-commits
mailing list