[clang] [llvm-profdata] Do not create numerical strings for MD5 function names read from a Sample Profile. (PR #66164)

David Li via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 20 14:04:44 PDT 2023


================
@@ -1135,12 +1141,12 @@ class FunctionSamples {
   /// translate \p Name in current FunctionSamples into its original name
   /// by looking up in the function map GUIDToFuncNameMap.
   /// If the original name doesn't exist in the map, return empty StringRef.
-  StringRef getFuncName(StringRef Name) const {
+  StringRef getFuncName(ProfileFuncRef Name) const {
----------------
david-xl wrote:

Name -> Func

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


More information about the cfe-commits mailing list