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

Evan Cheng evan.cheng at apple.com
Thu May 3 11:29:33 PDT 2012


LGTM

Evan

On May 3, 2012, at 8:50 AM, Meador Inge wrote:

> 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
> <pr12729.patch>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list