diff options
author | Evan Cheng <evan.cheng@apple.com> | 2011-07-25 21:20:24 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2011-07-25 21:20:24 +0000 |
commit | 4b64e8a9e13ba782da2034e1dee52f077bdb759c (patch) | |
tree | d634b1311e0c847d61245cfb05e25c50ec334090 /tools/llvm-mc | |
parent | fd47a5966141e32db461a9a96597920d5fd46498 (diff) | |
download | external_llvm-4b64e8a9e13ba782da2034e1dee52f077bdb759c.zip external_llvm-4b64e8a9e13ba782da2034e1dee52f077bdb759c.tar.gz external_llvm-4b64e8a9e13ba782da2034e1dee52f077bdb759c.tar.bz2 |
Separate MCInstPrinter registration from AsmPrinter registration.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135974 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-mc')
-rw-r--r-- | tools/llvm-mc/llvm-mc.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/llvm-mc/llvm-mc.cpp b/tools/llvm-mc/llvm-mc.cpp index 8e69515..679b3cd 100644 --- a/tools/llvm-mc/llvm-mc.cpp +++ b/tools/llvm-mc/llvm-mc.cpp @@ -452,14 +452,9 @@ int main(int argc, char **argv) { // Initialize targets and assembly printers/parsers. llvm::InitializeAllTargetInfos(); llvm::InitializeAllTargetMCs(); - llvm::InitializeAllAsmPrinters(); llvm::InitializeAllAsmParsers(); llvm::InitializeAllDisassemblers(); - // Register the target printer for --version. - // FIXME: Remove when we stop initializing the Target(Machine)s above. - cl::AddExtraVersionPrinter(TargetRegistry::printRegisteredTargetsForVersion); - cl::ParseCommandLineOptions(argc, argv, "llvm machine code playground\n"); TripleName = Triple::normalize(TripleName); |