[llvm-commits] [PATCH] PR12729: Change 'llvm-objdump' to display the available targets

Meador Inge meadori at gmail.com
Thu May 3 08:50:20 PDT 2012


Hi All,

PR12729 was recently opened because 'llvm-objdump' displays the
following when '-help' is thrown:

-arch=<string>                   - Target arch to disassemble for, see
-version for available targets

...

-triple=<string>                 - Target triple to disassemble for,
see -version for available targets

However, it doesn't actually show the available targets when
'-version' is thrown:

LLVM (http://llvm.org/):
  LLVM version 3.2svn
  DEBUG build with assertions.
  Built May  2 2012 (19:44:18).
  Default target: x86_64-apple-darwin11.3.0
  Host CPU: corei7-avx

The attached patch fixes this.  OK?

P.S.  I don't have commit rights so if someone can commit this for me
that will be great.

-- 
# Meador
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr12729.patch
Type: application/octet-stream
Size: 575 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120503/848483f0/attachment.obj>


More information about the llvm-commits mailing list