[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 13 09:20:33 PDT 2023
================
@@ -48,6 +52,8 @@ namespace llvm {
/// lifetime extends past that of the StringRef. For this reason, it is not in
/// general safe to store a StringRef.
class LLVM_GSL_POINTER StringRef {
+ friend class llvm::sampleprof::ProfileFuncName;
----------------
david-xl wrote:
right. The ADT change is unwanted.
https://github.com/llvm/llvm-project/pull/66164
More information about the llvm-commits
mailing list