[llvm] [SampleFDO] Read call-graph matching recovered top-level function profile (PR #101053)

via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 17 07:32:45 PDT 2024


================
@@ -791,6 +798,19 @@ bool SampleProfileReaderExtBinaryBase::useFuncOffsetList() const {
   return false;
 }
 
+std::error_code
+SampleProfileReaderExtBinaryBase::read(const DenseSet<StringRef> &FuncsToUse,
----------------
WenleiHe wrote:

We also need to make sure if we profile is loaded, we don't load again into the same map

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


More information about the llvm-commits mailing list