comparison gen/cl_options.h @ 1021:d1ec9ff0e9ba

Implemented basic -m32 and -m64 options.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Sun, 01 Mar 2009 22:27:03 +0100
parents 2667e3a145be
children 7ce8355fbcc6
comparison
equal deleted inserted replaced
1020:474d7dd54d43 1021:d1ec9ff0e9ba
36 #endif 36 #endif
37 extern cl::list<std::string> versions; 37 extern cl::list<std::string> versions;
38 38
39 extern cl::opt<const llvm::TargetMachineRegistry::entry*, false, 39 extern cl::opt<const llvm::TargetMachineRegistry::entry*, false,
40 llvm::RegistryParser<llvm::TargetMachine> > mArch; 40 llvm::RegistryParser<llvm::TargetMachine> > mArch;
41 extern cl::opt<bool> m32bits;
42 extern cl::opt<bool> m64bits;
41 extern cl::opt<std::string> mCPU; 43 extern cl::opt<std::string> mCPU;
42 extern cl::list<std::string> mAttrs; 44 extern cl::list<std::string> mAttrs;
43 extern cl::opt<std::string> mTargetTriple; 45 extern cl::opt<std::string> mTargetTriple;
44 46
45 // Arguments to -d-debug 47 // Arguments to -d-debug