[PATCH] D118193: [llvm-nm] add a new option -X to specify the type of object file llvm-nm should examine

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 10 14:48:11 PST 2022


MaskRay accepted this revision.
MaskRay added a comment.

Looks great!



================
Comment at: llvm/tools/llvm-nm/Opts.td:16
 
+def X : JoinedOrSeparate<["-"], "X">, HelpText<"Specifies the type of XCOFF, ELF, or IR object file to examine. The value must be one of: 32, 64, 32_64, any (default)">;
 def debug_syms : FF<"debug-syms", "Show all symbols, even debugger only">;
----------------
Just to keep the binary formats sorted alphabetically.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118193/new/

https://reviews.llvm.org/D118193



More information about the llvm-commits mailing list