1/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
2|* *|
3|* Option Parsing Definitions *|
4|* *|
5|* Automatically generated file, do not edit! *|
6|* *|
7\*===----------------------------------------------------------------------===*/
8
9/////////
10// Prefixes
11
12#ifdef PREFIX
13#define COMMA ,
14PREFIX(prefix_0, {llvm::StringLiteral("")})
15PREFIX(prefix_1, {llvm::StringLiteral("/") COMMA llvm::StringLiteral("-") COMMA llvm::StringLiteral("/?") COMMA llvm::StringLiteral("-?") COMMA llvm::StringLiteral("")})
16PREFIX(prefix_2, {llvm::StringLiteral("/??") COMMA llvm::StringLiteral("-??") COMMA llvm::StringLiteral("/?") COMMA llvm::StringLiteral("-?") COMMA llvm::StringLiteral("")})
17#undef COMMA
18#endif // PREFIX
19
20/////////
21// Prefix Union
22
23#ifdef PREFIX_UNION
24#define COMMA ,
25PREFIX_UNION({
26llvm::StringLiteral("-") COMMA llvm::StringLiteral("-?") COMMA llvm::StringLiteral("-??") COMMA llvm::StringLiteral("/") COMMA llvm::StringLiteral("/?") COMMA llvm::StringLiteral("/??") COMMA llvm::StringLiteral("")})
27#undef COMMA
28#endif // PREFIX_UNION
29
30/////////
31// ValuesCode
32
33#ifdef OPTTABLE_VALUES_CODE
34#endif
35/////////
36// Groups
37
38#ifdef OPTION
39
40//////////
41// Options
42
43OPTION(prefix_0, "<input>", INPUT, Input, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
44OPTION(prefix_0, "<unknown>", UNKNOWN, Unknown, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
45OPTION(prefix_1, "/def:", deffile, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
46 "def file to use to generate import library", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
47OPTION(prefix_1, "/defArm64Native:", nativedeffile, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
48 "def file to use to generate native ARM64 symbols in ARM64EC import library", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
49OPTION(prefix_1, "/help", help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
50OPTION(prefix_1, "/ignore:", ignore, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
51 "Specify warning codes to ignore", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
52OPTION(prefix_1, "/libpath:", libpath, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
53 "Object file search path", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
54OPTION(prefix_1, "/list", lst, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
55 "List contents of .lib file on stdout", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
56OPTION(prefix_1, "/llvmlibempty", llvmlibempty, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
57 "When given no contents, produce an empty .lib file", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
58OPTION(prefix_1, "/llvmlibthin", llvmlibthin, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
59 "Make .lib point to .obj files instead of copying their contents", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
60OPTION(prefix_1, "/ltcg", ltcg, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
61OPTION(prefix_1, "/machine:", machine, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
62 "Specify target platform", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
63OPTION(prefix_1, "/nodefaultlib:", nodefaultlib, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
64 "", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
65OPTION(prefix_1, "/nodefaultlib", nodefaultlib_all, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
66OPTION(prefix_1, "/nologo", nologo, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
67OPTION(prefix_1, "/out:", out, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
68 "Path to file to write output", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
69OPTION(prefix_1, "/subsystem:", subsystem, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
70 "", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
71OPTION(prefix_1, "/verbose", verbose, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
72OPTION(prefix_1, "/WX:no", WX_no, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
73 "Don't treat warnings as errors (default)", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
74OPTION(prefix_1, "/WX", WX, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
75 "Treat warnings as errors", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
76OPTION(prefix_2, "/??", help_q, Flag, INVALID, help, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
77#endif // OPTION
78
79#ifdef SIMPLE_ENUM_VALUE_TABLE
80
81struct SimpleEnumValue {
82 const char *Name;
83 unsigned Value;
84};
85
86struct SimpleEnumValueTable {
87 const SimpleEnumValue *Table;
88 unsigned Size;
89};
90static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
91static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
92#endif // SIMPLE_ENUM_VALUE_TABLE
93
94
95