Skip to content

Commit 8e8a072

Browse files
[llvm-debuginfod-find] Remove old parameter comment (#109637)
This patch removes a comment in llvm-debuginfod-find containing all the cl::opt entries, which are redundant after the conversion to using optTable. These seem to have been introduced in #108082 along with a conversion to optTable.
1 parent 27b5dc4 commit 8e8a072

File tree

1 file changed

+0
-39
lines changed

1 file changed

+0
-39
lines changed

llvm/tools/llvm-debuginfod-find/llvm-debuginfod-find.cpp

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -98,45 +98,6 @@ static void parseArgs(int argc, char **argv) {
9898
exit(1);
9999
}
100100

101-
/*
102-
cl::OptionCategory DebuginfodFindCategory("llvm-debuginfod-find Options");
103-
104-
cl::opt<std::string> InputBuildID(cl::Positional, cl::Required,
105-
cl::desc("<input build_id>"), cl::init("-"),
106-
cl::cat(DebuginfodFindCategory));
107-
108-
static cl::opt<bool>
109-
FetchExecutable("executable", cl::init(false),
110-
cl::desc("If set, fetch a binary file associated with this "
111-
"build id, containing the executable sections."),
112-
cl::cat(DebuginfodFindCategory));
113-
114-
static cl::opt<bool>
115-
FetchDebuginfo("debuginfo", cl::init(false),
116-
cl::desc("If set, fetch a binary file associated with this "
117-
"build id, containing the debuginfo sections."),
118-
cl::cat(DebuginfodFindCategory));
119-
120-
static cl::opt<std::string> FetchSource(
121-
"source", cl::init(""),
122-
cl::desc("Fetch a source file associated with this build id, which is at "
123-
"this relative path relative to the compilation directory."),
124-
cl::cat(DebuginfodFindCategory));
125-
126-
static cl::opt<bool>
127-
DumpToStdout("dump", cl::init(false),
128-
cl::desc("If set, dumps the contents of the fetched artifact "
129-
"to standard output. Otherwise, dumps the absolute "
130-
"path to the cached artifact on disk."),
131-
cl::cat(DebuginfodFindCategory));
132-
133-
static cl::list<std::string> DebugFileDirectory(
134-
"debug-file-directory",
135-
cl::desc("Path to directory where to look for debug files."),
136-
cl::cat(DebuginfodFindCategory));
137-
138-
*/
139-
140101
ExitOnError ExitOnDebuginfodFindError;
141102

142103
static std::string fetchDebugInfo(object::BuildIDRef BuildID);

0 commit comments

Comments
 (0)