[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
Tue Sep 12 23:03:44 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
----------------
vns-mn wrote:

This can be avoided if you don't use inheritance in ProfileFuncName definition.

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


More information about the llvm-commits mailing list