Fangrui Song
9caa6b5b64
[llvm-ar][llvm-nm][llvm-size] Change -long-option to --long-option in tests. NFC
...
llvm-svn: 359688
2019-05-01 15:31:15 +00:00
Fangrui Song
2d5e7de526
[llvm-nm] -print-size => --print-size
...
llvm-svn: 359417
2019-04-29 06:03:59 +00:00
Fangrui Song
41327e3522
[llvm-nm][llvm-size] Use --double-dash options in tests
...
llvm-svn: 359308
2019-04-26 13:42:16 +00:00
Jonas Devlieghere
ba17b96bed
[llvm-nm] Use WithColor for error reporting
...
Use helpers from Support/WithError.h to print errors.
llvm-svn: 346624
2018-11-11 22:12:21 +00:00
Kevin Enderby
a31f9dd69a
Change the test added in r293099 so it does not have the string "llvm-nm" to fix
...
the clang-x86-windows-msvc2015 bot as the name is "llvm-nm.EXE" in that case.
llvm-svn: 293114
2017-01-25 23:57:32 +00:00
Kevin Enderby
31e8530063
Add a warning when the llvm-nm -print-size flag is used on a Mach-O file as
...
Mach-O files don’t have size information about the symbols in the object file
format unlike ELF.
Also add the part of the fix to llvm-nm that was missed with r290001 so
-arch armv7m works.
rdar://25681018
llvm-svn: 293099
2017-01-25 21:33:38 +00:00