[llvm] [llvm-profdata] Do not create numerical strings for MD5 function names read from a Sample Profile. (PR #66164)
David Li via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 20 14:04:33 PDT 2023
================
@@ -1156,7 +1162,9 @@ class FunctionSamples {
/// Returns a unique hash code for a combination of a callsite location and
/// the callee function name.
- static uint64_t getCallSiteHash(StringRef CalleeName,
+ /// Guarantee MD5 and non-MD5 representation of the same function results in
+ /// the same hash.
+ static uint64_t getCallSiteHash(ProfileFuncRef CalleeName,
----------------
david-xl wrote:
CalleeName -> Callee
https://github.com/llvm/llvm-project/pull/66164
More information about the llvm-commits
mailing list