Skip to content

Commit ff96273

Browse files
committed
[NFC][DebugInfo] Set a testing flag to be hidden
This flag (--try-experimental-debuginfo-iterators) only exists for testing purposes, to get some RUNlines running in new-debug-info mode before it's properly supported. The flag isn't something that's going to be useful to people using llvm 18, so hide it from the options list.
1 parent 50e2581 commit ff96273

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/tools/llc/llc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ static cl::opt<std::string> RemarksFormat(
189189
static cl::opt<bool> TryUseNewDbgInfoFormat(
190190
"try-experimental-debuginfo-iterators",
191191
cl::desc("Enable debuginfo iterator positions, if they're built in"),
192-
cl::init(false));
192+
cl::init(false), cl::Hidden);
193193

194194
extern cl::opt<bool> UseNewDbgInfoFormat;
195195

llvm/tools/opt/opt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ static cl::list<std::string>
282282
static cl::opt<bool> TryUseNewDbgInfoFormat(
283283
"try-experimental-debuginfo-iterators",
284284
cl::desc("Enable debuginfo iterator positions, if they're built in"),
285-
cl::init(false));
285+
cl::init(false), cl::Hidden);
286286

287287
extern cl::opt<bool> UseNewDbgInfoFormat;
288288

0 commit comments

Comments
 (0)