OptionCategory DsymCategory("Specific Options");
static opt<bool> Help("h", desc("Alias for -help"), Hidden);
+static opt<bool> Version("v", desc("Alias for -version"), Hidden);
static opt<std::string> InputFile(Positional, desc("<input file>"),
init("a.out"), cat(DsymCategory));
if (Help)
PrintHelpMessage();
+ if (Version) {
+ llvm::cl::PrintVersionMessage();
+ return 0;
+ }
+
auto DebugMapPtrOrErr =
parseDebugMap(InputFile, OsoPrependPath, Verbose, InputIsYAMLDebugMap);