@@ -98,45 +98,6 @@ static void parseArgs(int argc, char **argv) {
98
98
exit (1 );
99
99
}
100
100
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
-
140
101
ExitOnError ExitOnDebuginfodFindError;
141
102
142
103
static std::string fetchDebugInfo (object::BuildIDRef BuildID);
0 commit comments