aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-profdata/llvm-profdata.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2024-11-15 15:37:00 -0800
committerGitHub <noreply@github.com>2024-11-15 15:37:00 -0800
commit0d38f64e7df94b062dde89627de28125f292b6bb (patch)
treec38810c7f84bcb6072d9a0e2256156327f5704ce /llvm/tools/llvm-profdata/llvm-profdata.cpp
parent57ed628fb397c6427f820fb217c8a58e67f8e10a (diff)
downloadllvm-0d38f64e7df94b062dde89627de28125f292b6bb.zip
llvm-0d38f64e7df94b062dde89627de28125f292b6bb.tar.gz
llvm-0d38f64e7df94b062dde89627de28125f292b6bb.tar.bz2
[memprof] Remove MemProf format Version 0 (#116442)
This patch removes MemProf format Version 0 now that version 2 and 3 seem to be working well. I'm not touching version 1 for now because some tests still rely on version 1. Note that Version 0 is identical to Version 1 except that the MemProf section of the indexed format has a MemProf version field.
Diffstat (limited to 'llvm/tools/llvm-profdata/llvm-profdata.cpp')
-rw-r--r--llvm/tools/llvm-profdata/llvm-profdata.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/tools/llvm-profdata/llvm-profdata.cpp b/llvm/tools/llvm-profdata/llvm-profdata.cpp
index f7023aa..8a42e43 100644
--- a/llvm/tools/llvm-profdata/llvm-profdata.cpp
+++ b/llvm/tools/llvm-profdata/llvm-profdata.cpp
@@ -333,8 +333,7 @@ cl::opt<memprof::IndexedVersion> MemProfVersionRequested(
"memprof-version", cl::Hidden, cl::sub(MergeSubcommand),
cl::desc("Specify the version of the memprof format to use"),
cl::init(memprof::Version3),
- cl::values(clEnumValN(memprof::Version0, "0", "version 0"),
- clEnumValN(memprof::Version1, "1", "version 1"),
+ cl::values(clEnumValN(memprof::Version1, "1", "version 1"),
clEnumValN(memprof::Version2, "2", "version 2"),
clEnumValN(memprof::Version3, "3", "version 3")));