Mercurial > projects > ldc
comparison gen/cl_options.h @ 1544:8863cf7236e6
We need to parse mArch ourselves now
Build fix for LLVM r75890
author | Benjamin Kramer <benny.kra@gmail.com> |
---|---|
date | Fri, 17 Jul 2009 19:23:20 +0200 |
parents | 1311dabc6a1f |
children | 9176437d98be |
comparison
equal
deleted
inserted
replaced
1543:21d691518d82 | 1544:8863cf7236e6 |
---|---|
4 #include "mars.h" | 4 #include "mars.h" |
5 | 5 |
6 #include <deque> | 6 #include <deque> |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "llvm/Support/RegistryParser.h" | |
10 #include "llvm/Target/TargetMachineRegistry.h" | |
11 #include "llvm/Support/CommandLine.h" | 9 #include "llvm/Support/CommandLine.h" |
12 | 10 |
13 namespace opts { | 11 namespace opts { |
14 namespace cl = llvm::cl; | 12 namespace cl = llvm::cl; |
15 | 13 |
35 extern cl::opt<std::string> hdrFile; | 33 extern cl::opt<std::string> hdrFile; |
36 #endif | 34 #endif |
37 extern cl::list<std::string> versions; | 35 extern cl::list<std::string> versions; |
38 extern cl::opt<std::string> moduleDepsFile; | 36 extern cl::opt<std::string> moduleDepsFile; |
39 | 37 |
40 extern cl::opt<const llvm::TargetMachineRegistry::entry*, false, | 38 extern cl::opt<std::string> mArch; |
41 llvm::RegistryParser<llvm::TargetMachine> > mArch; | |
42 extern cl::opt<bool> m32bits; | 39 extern cl::opt<bool> m32bits; |
43 extern cl::opt<bool> m64bits; | 40 extern cl::opt<bool> m64bits; |
44 extern cl::opt<std::string> mCPU; | 41 extern cl::opt<std::string> mCPU; |
45 extern cl::list<std::string> mAttrs; | 42 extern cl::list<std::string> mAttrs; |
46 extern cl::opt<std::string> mTargetTriple; | 43 extern cl::opt<std::string> mTargetTriple; |