llvm-project/llvm/test/tools/llvm-nm/X86
Saurabh Badhwar 148569f7a6 [llvm-nm] Allow --size-sort to print symbols with only Symbol size
Summary:
When llvm-nm is passed only the --size-sort option for an object file, there is no output generated.
The commit modifies the behavior to print the symbols sorted and their size which is also inline with
the output of the GNU nm tool.

Signed-off-by: Saurabh Badhwar <sbsaurabhbadhwar9@gmail.com>

Reviewers: enderby, rupprecht

Reviewed By: rupprecht

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D56063

llvm-svn: 351347
2019-01-16 14:38:22 +00:00
..
Inputs For llvm-nm and Mach-O files that are fully stripped, special case a redacted LC_MAIN 2018-03-29 20:04:29 +00:00
IRobj.test
demangle.ll
dyldinfo.test For llvm-nm and Mach-O files that are fully stripped, special case a redacted LC_MAIN 2018-03-29 20:04:29 +00:00
externalonly.test
groupingflags.test
importlibrary.test
init-fini.test
macho-bad-zero-nsect-for-N_SECT.test
macho-dwarf.test
nm-no-symbols.test [llvm-nm] Write "no symbol" output to stderr 2018-10-05 21:10:03 +00:00
posix-aliases.test [llvm-nm] Add --portability as alias for --format=posix 2019-01-07 14:12:51 +00:00
posixArchiveMachO.test
posixELF.test
posixMachO.test
radix.s
response-file.test [llvm-nm] Include the text "@FILE" in the output of --help 2018-10-11 06:53:38 +00:00
size-sort.test [llvm-nm] Allow --size-sort to print symbols with only Symbol size 2019-01-16 14:38:22 +00:00
sysv-i386.test
sysv-x86_64.test
weak.test nm: Add -no-weak flag for hiding weak symbols 2018-07-02 17:24:37 +00:00