github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff origin/main HEAD --extensions cpp --
bolt/lib/Core/BinaryContext.cpp bolt/lib/Core/BinaryFunction.cpp
bolt/lib/Core/BinaryFunctionProfile.cpp bolt/lib/Core/DynoStats.cpp
bolt/lib/Passes/BinaryPasses.cpp bolt/lib/Passes/FrameAnalysis.cpp
bolt/lib/Passes/FrameOptimizer.cpp bolt/lib/Passes/IdenticalCodeFolding.cpp
bolt/lib/Passes/IndirectCallPromotion.cpp bolt/lib/Passes/Instrumentation.cpp
bolt/lib/Passes/JTFootprintReduction.cpp bolt/lib/Passes/PLTCall.cpp
bolt/lib/Passes/ProfileQualityStats.cpp bolt/lib/Passes/ReorderAlgorithm.cpp
bolt/lib/Passes/ReorderData.cpp bolt/lib/Passes/ReorderFunctions.cpp
bolt/lib/Passes/RetpolineInsertion.cpp bolt/lib/Passes/ShrinkWrapping.cpp
bolt/lib/Passes/StokeInfo.cpp bolt/lib/Passes/TailDuplication.cpp
bolt/lib/Profile/DataAggregator.cpp bolt/lib/Rewrite/BinaryPassManager.cpp
bolt/lib/Rewrite/DWARFRewriter.cpp bolt/lib/Rewrite/RewriteInstance.cpp
bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
bolt/lib/Utils/CommandLineOpts.cpp bolt/tools/driver/llvm-bolt.cpp
bolt/tools/merge-fdata/merge-fdata.cpp clang/lib/CodeGen/BackendUtil.cpp
clang/lib/CodeGen/CGExpr.cpp clang/lib/CodeGen/CoverageMappingGen.cpp
clang/lib/Tooling/CommonOptionsParser.cpp clang/tools/clang-diff/ClangDiff.cpp
clang/tools/clang-import-test/clang-import-test.cpp
clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
clang/tools/clang-refactor/ClangRefactor.cpp
llvm/examples/OrcV2Examples/LLJITDumpObjects/LLJITDumpObjects.cpp
llvm/examples/SpeculativeJIT/SpeculativeJIT.cpp llvm/lib/Analysis/IR2Vec.cpp
llvm/lib/CodeGen/BasicBlockMatchingAndInference.cpp
llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
llvm/lib/CodeGen/GlobalISel/Legalizer.cpp
llvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp llvm/lib/CodeGen/MIR2Vec.cpp
llvm/lib/CodeGen/TargetPassConfig.cpp llvm/lib/IR/OptBisect.cpp
llvm/lib/Support/DebugCounter.cpp llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
llvm/lib/Target/Hexagon/HexagonGlobalScheduler.cpp
llvm/lib/Target/Mips/MipsSubtarget.cpp
llvm/lib/Target/SPIRV/SPIRVAuxDataHandler.cpp
llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
llvm/lib/Target/SPIRV/SPIRVSubtarget.cpp
llvm/lib/Target/SPIRV/SPIRVTargetMachine.cpp
llvm/lib/Target/XCore/XCoreLowerThreadLocal.cpp
llvm/lib/Transforms/IPO/Instrumentor.cpp
llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
llvm/tools/llvm-cov/CodeCoverage.cpp llvm/tools/llvm-ir2vec/llvm-ir2vec.cpp
llvm/tools/llvm-jitlink/llvm-jitlink.cpp llvm/tools/llvm-lto2/llvm-lto2.cpp
llvm/tools/llvm-pdbutil/llvm-pdbutil.cpp
llvm/tools/llvm-profgen/ProfileGenerator.cpp
llvm/tools/llvm-split/llvm-split.cpp llvm/tools/llvm-undname/llvm-undname.cpp
mlir/lib/Debug/DebugCounter.cpp polly/lib/Analysis/ScopInfo.cpp
polly/lib/CodeGen/LoopGenerators.cpp polly/lib/Support/PollyDebug.cpp
polly/lib/Transform/MatmulOptimizer.cpp
polly/lib/Transform/ScheduleOptimizer.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/bolt/lib/Core/BinaryContext.cpp b/bolt/lib/Core/BinaryContext.cpp
index 8e479b92b..d46f0d859 100644
--- a/bolt/lib/Core/BinaryContext.cpp
+++ b/bolt/lib/Core/BinaryContext.cpp
@@ -62,21 +62,19 @@ static cl::opt<bool>
cl::Hidden, cl::cat(BoltCategory));
static cl::opt<bool>
-PrintDebugInfo("print-debug-info",
- cl::desc("print debug info when printing functions"),
- cl::Hidden,
- cl::cat(BoltCategory));
+ PrintDebugInfo("print-debug-info",
+ cl::desc("print debug info when printing functions"),
+ cl::Hidden, cl::cat(BoltCategory));
cl::opt<bool> PrintRelocations(
"print-relocations",
cl::desc("print relocations when printing functions/objects"), cl::Hidden,
cl::cat(BoltCategory));
-static cl::opt<bool>
-PrintMemData("print-mem-data",
- cl::desc("print memory data annotations when printing functions"),
- cl::Hidden,
- cl::cat(BoltCategory));
+static cl::opt<bool> PrintMemData(
+ "print-mem-data",
+ cl::desc("print memory data annotations when printing functions"),
+ cl::Hidden, cl::cat(BoltCategory));
cl::opt<std::string> CompDirOverride(
"comp-dir-override",
diff --git a/bolt/lib/Core/BinaryFunction.cpp b/bolt/lib/Core/BinaryFunction.cpp
index 69eec01e0..18d86107b 100644
--- a/bolt/lib/Core/BinaryFunction.cpp
+++ b/bolt/lib/Core/BinaryFunction.cpp
@@ -86,24 +86,21 @@ static cl::opt<bool> DotToolTipCode(
cl::desc("add basic block instructions as tool tips on nodes"), cl::Hidden,
cl::cat(BoltCategory));
-cl::opt<JumpTableSupportLevel>
-JumpTables("jump-tables",
- cl::desc("jump tables support (default=basic)"),
- cl::init(JTS_BASIC),
- cl::values(
- clEnumValN(JTS_NONE, "none",
- "do not optimize functions with jump tables"),
- clEnumValN(JTS_BASIC, "basic",
- "optimize functions with jump tables"),
- clEnumValN(JTS_MOVE, "move",
- "move jump tables to a separate section"),
- clEnumValN(JTS_SPLIT, "split",
- "split jump tables section into hot and cold based on "
- "function execution frequency"),
- clEnumValN(JTS_AGGRESSIVE, "aggressive",
- "aggressively split jump tables section based on usage "
- "of the tables")),
- cl::cat(BoltOptCategory));
+cl::opt<JumpTableSupportLevel> JumpTables(
+ "jump-tables", cl::desc("jump tables support (default=basic)"),
+ cl::init(JTS_BASIC),
+ cl::values(
+ clEnumValN(JTS_NONE, "none",
+ "do not optimize functions with jump tables"),
+ clEnumValN(JTS_BASIC, "basic", "optimize functions with jump tables"),
+ clEnumValN(JTS_MOVE, "move", "move jump tables to a separate section"),
+ clEnumValN(JTS_SPLIT, "split",
+ "split jump tables section into hot and cold based on "
+ "function execution frequency"),
+ clEnumValN(JTS_AGGRESSIVE, "aggressive",
+ "aggressively split jump tables section based on usage "
+ "of the tables")),
+ cl::cat(BoltOptCategory));
static cl::opt<bool> NoScan(
"no-scan",
diff --git a/bolt/lib/Core/DynoStats.cpp b/bolt/lib/Core/DynoStats.cpp
index 4a8f4e722..382b0ed47 100644
--- a/bolt/lib/Core/DynoStats.cpp
+++ b/bolt/lib/Core/DynoStats.cpp
@@ -31,11 +31,9 @@ namespace opts {
extern cl::OptionCategory BoltCategory;
static cl::opt<uint32_t>
-DynoStatsScale("dyno-stats-scale",
- cl::desc("scale to be applied while reporting dyno stats"),
- cl::init(1),
- cl::Hidden,
- cl::cat(BoltCategory));
+ DynoStatsScale("dyno-stats-scale",
+ cl::desc("scale to be applied while reporting dyno stats"),
+ cl::init(1), cl::Hidden, cl::cat(BoltCategory));
static cl::opt<uint32_t>
PrintDynoOpcodeStat("print-dyno-opcode-stats",
diff --git a/bolt/lib/Passes/BinaryPasses.cpp b/bolt/lib/Passes/BinaryPasses.cpp
index b36674344..4163f4121 100644
--- a/bolt/lib/Passes/BinaryPasses.cpp
+++ b/bolt/lib/Passes/BinaryPasses.cpp
@@ -72,14 +72,14 @@ static cl::opt<DynoStatsSortOrder> DynoStatsSortOrderOpt(
"Descending order")),
cl::cat(BoltOptCategory));
-cl::list<std::string>
-HotTextMoveSections("hot-text-move-sections",
- cl::desc("list of sections containing functions used for hugifying hot text.
"
- "BOLT makes sure these functions are not placed on the same page as
"
- "the hot text. (default=\'.stub,.mover\')."),
- cl::value_desc("sec1,sec2,sec3,..."),
- cl::CommaSeparated,
- cl::cat(BoltCategory));
+cl::list<std::string> HotTextMoveSections(
+ "hot-text-move-sections",
+ cl::desc(
+ "list of sections containing functions used for hugifying hot text. "
+ "BOLT makes sure these functions are not placed on the same page as "
+ "the hot text. (default=\'.stub,.mover\')."),
+ cl::value_desc("sec1,sec2,sec3,..."), cl::CommaSeparated,
+ cl::cat(BoltCategory));
bool isHotTextMover(const BinaryFunction &Function) {
for (std::string &SectionName : opts::HotTextMoveSections) {
@@ -197,19 +197,16 @@ enum SctcModes : char {
SctcHeuristic
};
-static cl::opt<SctcModes>
-SctcMode("sctc-mode",
- cl::desc("mode for simplify conditional tail calls"),
- cl::init(SctcAlways),
- cl::values(clEnumValN(SctcAlways, "always", "always perform sctc"),
- clEnumValN(SctcPreserveDirection,
- "preserve",
- "only perform sctc when branch direction is "
- "preserved"),
- clEnumValN(SctcHeuristic,
- "heuristic",
- "use branch prediction data to control sctc")),
- cl::cat(BoltOptCategory));
+static cl::opt<SctcModes> SctcMode(
+ "sctc-mode", cl::desc("mode for simplify conditional tail calls"),
+ cl::init(SctcAlways),
+ cl::values(clEnumValN(SctcAlways, "always", "always perform sctc"),
+ clEnumValN(SctcPreserveDirection, "preserve",
+ "only perform sctc when branch direction is "
+ "preserved"),
+ clEnumValN(SctcHeuristic, "heuristic",
+ "use branch prediction data to control sctc")),
+ cl::cat(BoltOptCategory));
static cl::opt<unsigned>
StaleThreshold("stale-threshold",
diff --git a/bolt/lib/Passes/FrameOptimizer.cpp
b/bolt/lib/Passes/FrameOptimizer.cpp
index 344c6a234..22f6423f2 100644
--- a/bolt/lib/Passes/FrameOptimizer.cpp
+++ b/bolt/lib/Passes/FrameOptimizer.cpp
@@ -32,15 +32,13 @@ extern cl::OptionCategory BoltOptCategory;
using namespace bolt;
-cl::opt<FrameOptimizationType>
-FrameOptimization("frame-opt",
- cl::init(FOP_NONE),
- cl::desc("optimize stack frame accesses"),
- cl::values(
- clEnumValN(FOP_NONE, "none", "do not perform frame optimization"),
- clEnumValN(FOP_HOT, "hot", "perform FOP on hot functions"),
- clEnumValN(FOP_ALL, "all", "perform FOP on all functions")),
- cl::cat(BoltOptCategory));
+cl::opt<FrameOptimizationType> FrameOptimization(
+ "frame-opt", cl::init(FOP_NONE), cl::desc("optimize stack frame accesses"),
+ cl::values(clEnumValN(FOP_NONE, "none",
+ "do not perform frame optimization"),
+ clEnumValN(FOP_HOT, "hot", "perform FOP on hot functions"),
+ clEnumValN(FOP_ALL, "all", "perform FOP on all functions")),
+ cl::cat(BoltOptCategory));
static cl::opt<bool> RemoveStores(
"frame-opt-rm-stores", cl::init(FOP_NONE),
diff --git a/bolt/lib/Passes/IdenticalCodeFolding.cpp
b/bolt/lib/Passes/IdenticalCodeFolding.cpp
index 0c8f01e10..f68bfac89 100644
--- a/bolt/lib/Passes/IdenticalCodeFolding.cpp
+++ b/bolt/lib/Passes/IdenticalCodeFolding.cpp
@@ -39,11 +39,8 @@ static cl::opt<bool>
ICFUseDFS("icf-dfs", cl::desc("use DFS ordering when using -icf option"),
cl::ReallyHidden, cl::cat(BoltOptCategory));
-static cl::opt<bool>
-TimeICF("time-icf",
- cl::desc("time icf steps"),
- cl::ReallyHidden,
- cl::cat(BoltOptCategory));
+static cl::opt<bool> TimeICF("time-icf", cl::desc("time icf steps"),
+ cl::ReallyHidden, cl::cat(BoltOptCategory));
cl::opt<bolt::IdenticalCodeFolding::ICFLevel, false,
DeprecatedICFNumericOptionParser>
diff --git a/bolt/lib/Passes/ReorderData.cpp b/bolt/lib/Passes/ReorderData.cpp
index a9fb80e64..e55e281b2 100644
--- a/bolt/lib/Passes/ReorderData.cpp
+++ b/bolt/lib/Passes/ReorderData.cpp
@@ -41,18 +41,14 @@ enum ReorderAlgo : char {
REORDER_FUNCS = 1
};
-static cl::opt<ReorderAlgo>
-ReorderAlgorithm("reorder-data-algo",
- cl::desc("algorithm used to reorder data sections"),
- cl::init(REORDER_COUNT),
- cl::values(
- clEnumValN(REORDER_COUNT,
- "count",
- "sort hot data by read counts"),
- clEnumValN(REORDER_FUNCS,
- "funcs",
- "sort hot data by hot function usage and count")),
- cl::cat(BoltOptCategory));
+static cl::opt<ReorderAlgo> ReorderAlgorithm(
+ "reorder-data-algo", cl::desc("algorithm used to reorder data sections"),
+ cl::init(REORDER_COUNT),
+ cl::values(clEnumValN(REORDER_COUNT, "count",
+ "sort hot data by read counts"),
+ clEnumValN(REORDER_FUNCS, "funcs",
+ "sort hot data by hot function usage and count")),
+ cl::cat(BoltOptCategory));
static cl::opt<unsigned>
ReorderDataMaxSymbols("reorder-data-max-symbols",
diff --git a/bolt/lib/Passes/StokeInfo.cpp b/bolt/lib/Passes/StokeInfo.cpp
index c3afe2177..e2e419ea8 100644
--- a/bolt/lib/Passes/StokeInfo.cpp
+++ b/bolt/lib/Passes/StokeInfo.cpp
@@ -24,9 +24,9 @@ namespace opts {
static cl::OptionCategory StokeOptCategory("STOKE pass options");
static cl::opt<std::string>
-StokeOutputDataFilename("stoke-out",
- cl::desc("output data (.csv) for Stoke's use"),
- cl::cat(StokeOptCategory));
+ StokeOutputDataFilename("stoke-out",
+ cl::desc("output data (.csv) for Stoke's use"),
+ cl::cat(StokeOptCategory));
}
namespace llvm {
diff --git a/bolt/lib/Profile/DataAggregator.cpp
b/bolt/lib/Profile/DataAggregator.cpp
index a18e4d3d3..86c7d8a4f 100644
--- a/bolt/lib/Profile/DataAggregator.cpp
+++ b/bolt/lib/Profile/DataAggregator.cpp
@@ -107,11 +107,9 @@ static cl::opt<bool> IgnoreInterruptLBR(
cl::init(true), cl::cat(AggregatorCategory));
static cl::opt<unsigned long long>
-MaxSamples("max-samples",
- cl::init(-1ULL),
- cl::desc("maximum number of samples to read from LBR profile"),
- cl::Hidden,
- cl::cat(AggregatorCategory));
+ MaxSamples("max-samples", cl::init(-1ULL),
+ cl::desc("maximum number of samples to read from LBR profile"),
+ cl::Hidden, cl::cat(AggregatorCategory));
static cl::opt<unsigned>
PerfDataJobs("perfdata-jobs",
@@ -134,11 +132,10 @@ cl::opt<bool> ReadPreAggregated(
cl::alias ReadPerfScript("ps", cl::desc("read pre-parsed perf script output"),
cl::NotHidden, cl::aliasopt(ReadPreAggregated));
-static cl::opt<bool>
-TimeAggregator("time-aggr",
- cl::desc("time BOLT aggregator"),
- cl::init(false),
- cl::cat(AggregatorCategory));
+static cl::opt<bool> TimeAggregator("time-aggr",
+ cl::desc("time BOLT aggregator"),
+ cl::init(false),
+ cl::cat(AggregatorCategory));
} // namespace opts
diff --git a/bolt/lib/Rewrite/RewriteInstance.cpp
b/bolt/lib/Rewrite/RewriteInstance.cpp
index 845fc4661..be75ed332 100644
--- a/bolt/lib/Rewrite/RewriteInstance.cpp
+++ b/bolt/lib/Rewrite/RewriteInstance.cpp
@@ -186,15 +186,14 @@ KeepTmp("keep-tmp",
cl::Hidden,
cl::cat(BoltCategory));
-static cl::opt<unsigned>
-LiteThresholdPct("lite-threshold-pct",
- cl::desc("threshold (in percent) for selecting functions to process in lite "
- "mode. Higher threshold means fewer functions to process. E.g "
- "threshold of 90 means only top 10 percent of functions with "
- "profile will be processed."),
- cl::init(0),
- cl::Hidden,
- cl::cat(BoltOptCategory));
+static cl::opt<unsigned> LiteThresholdPct(
+ "lite-threshold-pct",
+ cl::desc(
+ "threshold (in percent) for selecting functions to process in lite "
+ "mode. Higher threshold means fewer functions to process. E.g "
+ "threshold of 90 means only top 10 percent of functions with "
+ "profile will be processed."),
+ cl::init(0), cl::Hidden, cl::cat(BoltOptCategory));
static cl::opt<unsigned> LiteThresholdCount(
"lite-threshold-count",
@@ -279,11 +278,11 @@ static cl::opt<bool> AccurateDebugRanges(
"accuracy for lower memory/time."),
cl::init(true), cl::Hidden, cl::cat(BoltCategory));
-static cl::opt<bool>
-UseGnuStack("use-gnu-stack",
- cl::desc("use GNU_STACK program header for new segment (workaround for "
- "issues with strip/objcopy)"),
- cl::cat(BoltCategory));
+static cl::opt<bool> UseGnuStack(
+ "use-gnu-stack",
+ cl::desc("use GNU_STACK program header for new segment (workaround for "
+ "issues with strip/objcopy)"),
+ cl::cat(BoltCategory));
static cl::opt<uint64_t> CustomAllocationVMA(
"custom-allocation-vma",
diff --git a/bolt/lib/Utils/CommandLineOpts.cpp
b/bolt/lib/Utils/CommandLineOpts.cpp
index 57838e2fe..6764f2ed9 100644
--- a/bolt/lib/Utils/CommandLineOpts.cpp
+++ b/bolt/lib/Utils/CommandLineOpts.cpp
@@ -115,11 +115,9 @@ DiffOnly("diff-only",
cl::Hidden,
cl::cat(BoltDiffCategory));
-cl::opt<bool>
-EnableBAT("enable-bat",
- cl::desc("write BOLT Address Translation tables"),
- cl::init(false),
- cl::cat(BoltCategory));
+cl::opt<bool> EnableBAT("enable-bat",
+ cl::desc("write BOLT Address Translation tables"),
+ cl::init(false), cl::cat(BoltCategory));
cl::opt<bool> EqualizeBBCounts(
"equalize-bb-counts",
@@ -136,13 +134,11 @@ llvm::cl::opt<bool> ForcePatch(
cl::opt<bool> RemoveSymtab("remove-symtab", cl::desc("Remove .symtab section"),
cl::cat(BoltCategory));
-cl::opt<unsigned>
-ExecutionCountThreshold("execution-count-threshold",
- cl::desc("perform profiling accuracy-sensitive optimizations only if "
- "function execution count >= the threshold (default: 0)"),
- cl::init(0),
- cl::Hidden,
- cl::cat(BoltOptCategory));
+cl::opt<unsigned> ExecutionCountThreshold(
+ "execution-count-threshold",
+ cl::desc("perform profiling accuracy-sensitive optimizations only if "
+ "function execution count >= the threshold (default: 0)"),
+ cl::init(0), cl::Hidden, cl::cat(BoltOptCategory));
cl::opt<SplitFunctionsStrategy> SplitStrategy(
"split-strategy", cl::init(SplitFunctionsStrategy::Profile2),
@@ -292,10 +288,8 @@ cl::opt<bool> LargeCodeModel(
cl::opt<bool> Lite("lite", cl::desc("skip processing of cold functions"),
cl::cat(BoltCategory));
-cl::opt<std::string>
-OutputFilename("o",
- cl::desc("<output file>"),
- cl::cat(BoltOutputCategory));
+cl::opt<std::string> OutputFilename("o", cl::desc("<output file>"),
+ cl::cat(BoltOutputCategory));
cl::list<std::string> PerfData("perfdata", cl::CommaSeparated,
cl::desc("<data file>"),
diff --git a/bolt/tools/driver/llvm-bolt.cpp b/bolt/tools/driver/llvm-bolt.cpp
index 11a31e9e4..56c04df1b 100644
--- a/bolt/tools/driver/llvm-bolt.cpp
+++ b/bolt/tools/driver/llvm-bolt.cpp
@@ -51,10 +51,8 @@ static cl::opt<std::string> InputFilename(cl::Positional,
cl::Required, cl::cat(BoltCategory),
cl::sub(cl::SubCommand::getAll()));
-static cl::opt<std::string>
-InputDataFilename("data",
- cl::desc("<data file>"),
- cl::cat(BoltCategory));
+static cl::opt<std::string> InputDataFilename("data", cl::desc("<data file>"),
+ cl::cat(BoltCategory));
static cl::alias
BoltProfile("b",
@@ -67,10 +65,8 @@ static cl::opt<std::string>
cl::desc("redirect journaling to a file instead of stdout/stderr"),
cl::Hidden, cl::cat(BoltCategory));
-static cl::opt<std::string>
-InputDataFilename2("data2",
- cl::desc("<data file>"),
- cl::cat(BoltCategory));
+static cl::opt<std::string> InputDataFilename2("data2", cl::desc("<data
file>"),
+ cl::cat(BoltCategory));
static cl::opt<std::string>
InputFilename2(
diff --git a/bolt/tools/merge-fdata/merge-fdata.cpp
b/bolt/tools/merge-fdata/merge-fdata.cpp
index d7cd72566..79e44cb90 100644
--- a/bolt/tools/merge-fdata/merge-fdata.cpp
+++ b/bolt/tools/merge-fdata/merge-fdata.cpp
@@ -64,10 +64,9 @@ PrintFunctionList("print",
cl::cat(MergeFdataCategory));
static cl::opt<bool>
-SuppressMergedDataOutput("q",
- cl::desc("do not print merged data to stdout"),
- cl::init(false),
- cl::cat(MergeFdataCategory));
+ SuppressMergedDataOutput("q",
+ cl::desc("do not print merged data to stdout"),
+ cl::init(false), cl::cat(MergeFdataCategory));
static cl::opt<std::string>
OutputFilePath("o",
diff --git a/llvm/lib/Support/DebugCounter.cpp
b/llvm/lib/Support/DebugCounter.cpp
index d9786838a..d0dfddca8 100644
--- a/llvm/lib/Support/DebugCounter.cpp
+++ b/llvm/lib/Support/DebugCounter.cpp
@@ -72,16 +72,12 @@ struct DebugCounterOwner : DebugCounter {
activateAllCounters();
})};
cl::opt<bool, true> PrintDebugCounterQueries{
- "print-debug-counter-queries",
- cl::Hidden,
- cl::location(this->ShouldPrintCounterQueries),
- cl::init(false),
+ "print-debug-counter-queries", cl::Hidden,
+ cl::location(this->ShouldPrintCounterQueries), cl::init(false),
cl::desc("Print out each query of an enabled debug counter")};
cl::opt<bool, true> BreakOnLastCount{
- "debug-counter-break-on-last",
- cl::Hidden,
- cl::location(this->BreakOnLast),
- cl::init(false),
+ "debug-counter-break-on-last", cl::Hidden,
+ cl::location(this->BreakOnLast), cl::init(false),
cl::desc("Insert a break point on the last enabled count of a "
"chunks list")};
``````````
</details>
https://github.com/llvm/llvm-project/pull/225628
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits