[llvm] [MemProf] Extend MemProfUse pass to make use of data access profiles to partition data (PR #151238)
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 26 22:15:32 PDT 2025
================
@@ -75,6 +76,17 @@ static cl::opt<unsigned> MinMatchedColdBytePercent(
"memprof-matching-cold-threshold", cl::init(100), cl::Hidden,
cl::desc("Min percent of cold bytes matched to hint allocation cold"));
+static cl::opt<bool> AnnotationStaticDataPrefix(
+ "annotate-static-data-prefix", cl::init(false), cl::Hidden,
----------------
teresajohnson wrote:
I don't think the default should be true with that warning, until and unless we expect to always have that profile section.
https://github.com/llvm/llvm-project/pull/151238
More information about the llvm-commits
mailing list