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

William Junda Huang via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 15 15:18:34 PDT 2023


================
@@ -80,6 +86,11 @@ namespace llvm {
     /// if (S == nullptr)
     StringRef(std::nullptr_t) = delete;
 
+    /// Disallow casting from ProfileFuncName because if it is representing a
----------------
huangjd wrote:

Revised, now the new class no longer depends on StringRef. 

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


More information about the llvm-commits mailing list