[clang-tools-extra] [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
Thu Oct 12 14:08:23 PDT 2023


================
@@ -902,12 +890,16 @@ std::error_code SampleProfileReaderExtBinaryBase::readFuncProfiles() {
       for (const auto &NameOffset : FuncOffsetList) {
         const auto &FContext = NameOffset.first;
         auto FName = FContext.getName();
+        StringRef FNameString;
+        if (!useMD5()) {
----------------
david-xl wrote:

this one too.

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


More information about the cfe-commits mailing list