Skip to content

Commit 2a8c150

Browse files
[llvm-profdata] Default to MemProf version 3
It's very confusing to have support for Verion 3 but not default to it. This patch teaches llvm-profdata to use MemProf version 3 by default.
1 parent 5c348f6 commit 2a8c150

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/tools/llvm-profdata/llvm-profdata.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ cl::opt<bool> DoWritePrevVersion(
332332
cl::opt<memprof::IndexedVersion> MemProfVersionRequested(
333333
"memprof-version", cl::Hidden, cl::sub(MergeSubcommand),
334334
cl::desc("Specify the version of the memprof format to use"),
335-
cl::init(memprof::Version0),
335+
cl::init(memprof::Version3),
336336
cl::values(clEnumValN(memprof::Version0, "0", "version 0"),
337337
clEnumValN(memprof::Version1, "1", "version 1"),
338338
clEnumValN(memprof::Version2, "2", "version 2"),

0 commit comments

Comments
 (0)