Skip to content

Commit 061adc1

Browse files
authored
[BOLT][NFC] Hide pass print options (#67718)
Most of the print options are hidden, make hidden them all.
1 parent 511662b commit 061adc1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

bolt/lib/Rewrite/BinaryPassManager.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ static cl::opt<bool>
111111

112112
static cl::opt<bool> PrintJTFootprintReduction(
113113
"print-after-jt-footprint-reduction",
114-
cl::desc("print function after jt-footprint-reduction pass"),
114+
cl::desc("print function after jt-footprint-reduction pass"), cl::Hidden,
115115
cl::cat(BoltOptCategory));
116116

117117
static cl::opt<bool>
@@ -160,7 +160,7 @@ static cl::opt<bool>
160160

161161
static cl::opt<bool> PrintRetpolineInsertion(
162162
"print-retpoline-insertion",
163-
cl::desc("print functions after retpoline insertion pass"),
163+
cl::desc("print functions after retpoline insertion pass"), cl::Hidden,
164164
cl::cat(BoltCategory));
165165

166166
static cl::opt<bool> PrintSCTC(
@@ -179,21 +179,21 @@ static cl::opt<bool>
179179

180180
static cl::opt<bool>
181181
PrintStoke("print-stoke", cl::desc("print functions after stoke analysis"),
182-
cl::cat(BoltOptCategory));
182+
cl::Hidden, cl::cat(BoltOptCategory));
183183

184184
static cl::opt<bool>
185185
PrintFixRelaxations("print-fix-relaxations",
186186
cl::desc("print functions after fix relaxations pass"),
187-
cl::cat(BoltOptCategory));
187+
cl::Hidden, cl::cat(BoltOptCategory));
188188

189189
static cl::opt<bool>
190190
PrintFixRISCVCalls("print-fix-riscv-calls",
191191
cl::desc("print functions after fix RISCV calls pass"),
192-
cl::cat(BoltOptCategory));
192+
cl::Hidden, cl::cat(BoltOptCategory));
193193

194194
static cl::opt<bool> PrintVeneerElimination(
195195
"print-veneer-elimination",
196-
cl::desc("print functions after veneer elimination pass"),
196+
cl::desc("print functions after veneer elimination pass"), cl::Hidden,
197197
cl::cat(BoltOptCategory));
198198

199199
static cl::opt<bool>

0 commit comments

Comments
 (0)