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 , |
14 | PREFIX(prefix_0, {llvm::StringLiteral("" )}) |
15 | PREFIX(prefix_1, {llvm::StringLiteral("/" ) COMMA llvm::StringLiteral("-" ) COMMA llvm::StringLiteral("" )}) |
16 | PREFIX(prefix_2, {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 , |
25 | PREFIX_UNION({ |
26 | 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 | |
43 | OPTION(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) |
44 | OPTION(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) |
45 | OPTION(prefix_1, "/DEFINE:" , DEFINE, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
46 | "Not implemented" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "symbol" , nullptr) |
47 | OPTION(prefix_1, "/FOLDDUPS:" , FOLDDUPS, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
48 | "Not implemented" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
49 | OPTION(prefix_1, "/HELP" , HELP, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
50 | "Display available options" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
51 | OPTION(prefix_1, "/H" , H, 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) |
52 | OPTION(prefix_1, "/MACHINE:" , MACHINE, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
53 | "Machine architecture" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "{ARM|ARM64|EBC|IA64|X64|X86}" , nullptr) |
54 | OPTION(prefix_1, "/NOLOGO" , NOLOGO, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
55 | "Not implemented" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
56 | OPTION(prefix_1, "/OUT:" , OUT, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
57 | "Output file" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "filename" , nullptr) |
58 | OPTION(prefix_1, "/READONLY" , READONLY, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
59 | "Not implemented" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
60 | OPTION(prefix_1, "/TIMESTAMP:" , TIMESTAMP, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
61 | "Timestamp for coff header, defaults to current time" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
62 | OPTION(prefix_1, "/VERBOSE" , VERBOSE, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
63 | "Use verbose output" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
64 | OPTION(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) |
65 | #endif // OPTION |
66 | |
67 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
68 | |
69 | struct SimpleEnumValue { |
70 | const char *Name; |
71 | unsigned Value; |
72 | }; |
73 | |
74 | struct SimpleEnumValueTable { |
75 | const SimpleEnumValue *Table; |
76 | unsigned Size; |
77 | }; |
78 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
79 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
80 | #endif // SIMPLE_ENUM_VALUE_TABLE |
81 | |
82 | |
83 | |