diff options
author | Fangrui Song <i@maskray.me> | 2022-06-05 00:31:44 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-06-05 00:31:44 -0700 |
commit | d86a206f06a51c12a9fcf2c20199f4e819751c0c (patch) | |
tree | 863e591c1cf2032925cdc13e79d9c3f424a636a0 /llvm/tools/llvm-profgen/PerfReader.cpp | |
parent | 2c4d52467a25aed5ec9ed868fe8b74a1a67d1535 (diff) | |
download | llvm-d86a206f06a51c12a9fcf2c20199f4e819751c0c.zip llvm-d86a206f06a51c12a9fcf2c20199f4e819751c0c.tar.gz llvm-d86a206f06a51c12a9fcf2c20199f4e819751c0c.tar.bz2 |
Remove unneeded cl::ZeroOrMore for cl::opt/cl::list options
Diffstat (limited to 'llvm/tools/llvm-profgen/PerfReader.cpp')
-rw-r--r-- | llvm/tools/llvm-profgen/PerfReader.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/llvm/tools/llvm-profgen/PerfReader.cpp b/llvm/tools/llvm-profgen/PerfReader.cpp index c1ee92b..98963cc 100644 --- a/llvm/tools/llvm-profgen/PerfReader.cpp +++ b/llvm/tools/llvm-profgen/PerfReader.cpp @@ -13,14 +13,12 @@ #define DEBUG_TYPE "perf-reader" -cl::opt<bool> SkipSymbolization("skip-symbolization", cl::init(false), - cl::ZeroOrMore, +cl::opt<bool> SkipSymbolization("skip-symbolization", cl::desc("Dump the unsymbolized profile to the " "output file. It will show unwinder " "output for CS profile generation.")); -static cl::opt<bool> ShowMmapEvents("show-mmap-events", cl::init(false), - cl::ZeroOrMore, +static cl::opt<bool> ShowMmapEvents("show-mmap-events", cl::desc("Print binary load events.")); static cl::opt<bool> @@ -39,8 +37,7 @@ static cl::opt<bool> IgnoreStackSamples("ignore-stack-samples", cl::desc("Ignore call stack samples for hybrid samples " "and produce context-insensitive profile.")); -cl::opt<bool> ShowDetailedWarning("show-detailed-warning", cl::init(false), - cl::ZeroOrMore, +cl::opt<bool> ShowDetailedWarning("show-detailed-warning", cl::desc("Show detailed warning message.")); extern cl::opt<std::string> PerfTraceFilename; |