Mercurial > projects > ldc
diff 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 |
line wrap: on
line diff
--- a/gen/cl_options.h Sun Mar 01 20:22:10 2009 +0100 +++ b/gen/cl_options.h Sun Mar 01 22:27:03 2009 +0100 @@ -38,6 +38,8 @@ extern cl::opt<const llvm::TargetMachineRegistry::entry*, false, llvm::RegistryParser<llvm::TargetMachine> > mArch; + extern cl::opt<bool> m32bits; + extern cl::opt<bool> m64bits; extern cl::opt<std::string> mCPU; extern cl::list<std::string> mAttrs; extern cl::opt<std::string> mTargetTriple;