[llvm] [BOLT] Expose pseudo probe function checksum (PR #99389)

Amir Ayupov via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 17 15:32:25 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; }
----------------
aaupov wrote:

Good catch.

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


More information about the llvm-commits mailing list