llir-opt  0.0.1
Low-Level Post-Link Optimiser for OCaml and C
options.h
1 // This file if part of the llir-opt project.
2 // Licensing information can be found in the LICENSE file.
3 // (C) 2018 Nandor Licker. All rights reserved.
4 
5 #pragma once
6 
7 #include <llvm/Option/ArgList.h>
8 
9 
10 
11 
12 
16 enum {
17  OPT_INVALID = 0,
18  #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11, _12) OPT_##ID,
19  #include "LdOptions.inc"
20  #undef OPTION
21 };
22 
23 
27 class OptionTable : public llvm::opt::OptTable {
28 public:
29  OptionTable();
30 
31  llvm::Expected<llvm::opt::InputArgList>
32  Parse(llvm::ArrayRef<const char *> argv);
33 };
OptionTable
Definition: options.h:27