================ @@ -618,7 +623,7 @@ class SampleContext { void clearState(ContextStateMask S) { State &= (uint32_t)~S; } bool hasContext() const { return State != UnknownContext; } bool isBaseContext() const { return FullContext.size() == 1; } - StringRef getName() const { return Name; } + ProfileFuncRef getName() const { return Name; } ---------------- MatzeB wrote:
I guess this should be `getId()` now (or however we end up naming the `ProfileFuncRef` now). https://github.com/llvm/llvm-project/pull/66164 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits