[llvm] [memprof] Add MemProf version (PR #86414)
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 26 16:00:19 PDT 2024
================
@@ -75,11 +75,16 @@ class InstrProfWriter {
// deployment of newer versions of llvm-profdata.
bool WritePrevVersion = false;
+ // The version we should use to write MemProf in.
+ memprof::MemProfVersion MemProfVersionRequested;
+
public:
InstrProfWriter(bool Sparse = false,
uint64_t TemporalProfTraceReservoirSize = 0,
uint64_t MaxTemporalProfTraceLength = 0,
- bool WritePrevVersion = false);
+ bool WritePrevVersion = false,
----------------
teresajohnson wrote:
This is not a change in this patch, and we should remove it separately.
https://github.com/llvm/llvm-project/pull/86414
More information about the llvm-commits
mailing list