llvm-project/llvm/test/tools/llvm-size
Shivam Gupta 25fdcb8e6c [llvm-size] Fix missing file name for darwin output format with non-Mach-O
llvm-size falls back to printing in Berkeley format, if --format=darwin is specified and a non-Mach-O object has been provided. However, it does not print the input filename when it should:

Before -
(base) xgupta@archlinux ~/llvm/llvm-project/build (main*) $ llvm-size ~/hello.o --format=darwin
   text	   data	    bss	    dec	    hex	filename
    291	      0	      0	    291	    123	%

After -
(base) xgupta@archlinux ~/llvm/llvm-project/build (main*) $ bin/llvm-size ~/hello.o --format=darwin
   text	   data	    bss	    dec	    hex	filename
    291	      0	      0	    291	    123	/home/xgupta/hello.o

Fix #42316

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D132364
2022-08-30 21:01:19 +05:30
..
archive.test [llvm-size] Fix missing file name for darwin output format with non-Mach-O 2022-08-30 21:01:19 +05:30
common.test
darwin-m.test
elf-berkeley.test
elf-m.test [llvm-size] Fix missing file name for darwin output format with non-Mach-O 2022-08-30 21:01:19 +05:30
elf-sysv.test
help.test
invalid-input.test
invalid-symbol-table-size.test
long-format.test
macho-berkeley.test
macho-sysv.test
multiple-inputs.test
no-input.test
output-alloc.test
radix.test
response-file.test
stdin.test
totals.test
unknown-format.test
version.test