mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
PR12729: Change 'llvm-objdump' to display the available targets.
Patch by Meador Inge. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156128 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
30b88661f5
commit
ff204963cb
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user