[llvm] [MemProf] Support for random hotness when writing profile (PR #113998)
Snehasish Kumar via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 29 12:30:04 PDT 2024
================
@@ -190,7 +199,16 @@ InstrProfWriter::InstrProfWriter(
InfoObj(new InstrProfRecordWriterTrait()),
WritePrevVersion(WritePrevVersion),
MemProfVersionRequested(MemProfVersionRequested),
- MemProfFullSchema(MemProfFullSchema) {}
+ MemProfFullSchema(MemProfFullSchema) {
----------------
snehasish wrote:
For internal tooling it will be cleaner if we plumb it through as a parameter instead of setting the cl::opt.
https://github.com/llvm/llvm-project/pull/113998
More information about the llvm-commits
mailing list