================ @@ -85,7 +86,7 @@ class ProfiledCallGraph { std::queue<ContextTrieNode *> Queue; for (auto &Child : ContextTracker.getRootContext().getAllChildContext()) { ContextTrieNode *Callee = &Child.second; - addProfiledFunction(ContextTracker.getFuncNameFor(Callee)); + addProfiledFunction(Callee->getFuncName()); ---------------- huangjd wrote:
This is ok, see SampleProfile.cpp:1970. It will perform a MD5 to StringRef lookup if using MD5. ``` Function *F = SymbolMap.lookup( FunctionSamples::UseMD5 ? GUIDToFuncNameMap.lookup(Node->Name.getHashCode()) : Node->Name.stringRef(Buffer));``` 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