llvm.org GIT mirror llvm / 4445215
Have llvm-mc --version print the list of registered targets like llc does. Patch by jey. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152315 91177308-0d34-0410-b5e6-96231b3b80d8 Duncan Sands 8 years ago
1 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
511511 llvm::InitializeAllAsmParsers();
512512 llvm::InitializeAllDisassemblers();
513513
514 // Register the target printer for --version.
515 cl::AddExtraVersionPrinter(TargetRegistry::printRegisteredTargetsForVersion);
516
514517 cl::ParseCommandLineOptions(argc, argv, "llvm machine code playground\n");
515518 TripleName = Triple::normalize(TripleName);
516519 setDwarfDebugFlags(argc, argv);