diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2009-01-16 07:02:28 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2009-01-16 07:02:28 +0000 |
commit | 61fc6c80cf9d50c19fe46decedc592251918d78d (patch) | |
tree | fcba18b7e9983bc8ec7e0fa707cb32e6d1f88aed /tools | |
parent | 742590708e33a3770e357e99c9bef4bc10047371 (diff) | |
download | external_llvm-61fc6c80cf9d50c19fe46decedc592251918d78d.zip external_llvm-61fc6c80cf9d50c19fe46decedc592251918d78d.tar.gz external_llvm-61fc6c80cf9d50c19fe46decedc592251918d78d.tar.bz2 |
Registry.h should not depend on CommandLine.h.
Split Support/Registry.h into two files so that we have less to
recompile every time CommandLine.h is changed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62312 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/llc/llc.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index 60adc83..087a770 100644 --- a/tools/llc/llc.cpp +++ b/tools/llc/llc.cpp @@ -27,10 +27,11 @@ #include "llvm/PassManager.h" #include "llvm/Pass.h" #include "llvm/Support/CommandLine.h" +#include "llvm/Support/FileUtilities.h" #include "llvm/Support/ManagedStatic.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/PluginLoader.h" -#include "llvm/Support/FileUtilities.h" +#include "llvm/Support/RegistryParser.h" #include "llvm/Support/raw_ostream.h" #include "llvm/Analysis/Verifier.h" #include "llvm/System/Signals.h" @@ -60,7 +61,7 @@ static cl::opt<std::string> TargetTriple("mtriple", cl::desc("Override target triple for module")); static cl::opt<const TargetMachineRegistry::entry*, false, - TargetMachineRegistry::Parser> + RegistryParser<TargetMachine> > MArch("march", cl::desc("Architecture to generate code for:")); static cl::opt<std::string> |