[PATCH] D60411: Filter out irrelevant llvm-nm option
serge via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 10 04:59:19 PDT 2019
serge-sans-paille added a comment.
% ./bin/llvm-nm --help
OVERVIEW: llvm symbol table dumper
USAGE: llvm-nm [options] <input files> --s Dump only symbols from this segment and section name, Mach-O only
OPTIONS:
Generic Options:
-help - Display available options (-help-hidden for more)
-help-list - Display list of available options (-help-list-hidden for more)
-version - Display the version of this program
llvm-nm options:
-B - Alias for --format=bsd
-P - Alias for --format=posix
-add-dyldinfo - Add symbols from the dyldinfo not already in the symbol table, Mach-O only
-arch=<string> - architecture(s) from a Mach-O file to dump
-debug-syms - Show all symbols, even debugger only
-defined-only - Show only defined symbols
-demangle - Demangle C++ symbol names
-dyldinfo-only - Show only symbols from the dyldinfo, Mach-O only
-dynamic - Display the dynamic symbols instead of normal symbols.
-extern-only - Show only external symbols
-format=<value> - Specify output format
=bsd - BSD format
=sysv - System V format
=posix - POSIX.2 format
=darwin - Darwin -m format
-just-symbol-name - Print just the symbol's name
-m - Alias for --format=darwin
-no-demangle - Don't demangle symbol names
-no-dyldinfo - Don't add any symbols from the dyldinfo, Mach-O only
-no-llvm-bc - Disable LLVM bitcode reader
-no-sort - Show symbols in order encountered
-no-weak - Show only non-weak symbols
-numeric-sort - Sort symbols by address
-portability - Alias for --format=posix
-print-armap - Print the archive map
-print-file-name - Precede each symbol with the object file it came from
-print-size - Show symbol size instead of address
-radix=<value> - Radix (o/d/x) for printing symbol Values
=d - decimal
=o - octal
=x - hexadecimal
-reverse-sort - Sort in reverse order
-s=<string> - Dump only symbols from this segment and section name, Mach-O only
-size-sort - Sort symbols by size
-undefined-only - Show only undefined symbols
-x - Print symbol entry in hex, Mach-O only
Pass @FILE as argument to read options from FILE.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60411/new/
https://reviews.llvm.org/D60411
More information about the llvm-commits
mailing list