1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

PR12729: Change 'llvm-objdump' to display the available targets.

Patch by Meador Inge.

llvm-svn: 156128
This commit is contained in:
Pete Cooper 2012-05-03 23:20:10 +00:00
parent 43574b75b2
commit e06a862dec

View File

@ -632,6 +632,9 @@ int main(int argc, char **argv) {
llvm::InitializeAllAsmParsers();
llvm::InitializeAllDisassemblers();
// Register the target printer for --version.
cl::AddExtraVersionPrinter(TargetRegistry::printRegisteredTargetsForVersion);
cl::ParseCommandLineOptions(argc, argv, "llvm object file dumper\n");
TripleName = Triple::normalize(TripleName);