]> granicus.if.org Git - llvm/commit
Add a warning when the llvm-nm -print-size flag is used on a Mach-O file as
authorKevin Enderby <enderby@apple.com>
Wed, 25 Jan 2017 21:33:38 +0000 (21:33 +0000)
committerKevin Enderby <enderby@apple.com>
Wed, 25 Jan 2017 21:33:38 +0000 (21:33 +0000)
commit0702b34637ff0f883fa6de8e8f67a90b167c5407
treefb3d9b552ab73a1f87cca570e6c3eda91ff9ef1d
parentfe08370a7f34196e54646df53f8384057b83c1bd
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293099 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-nm/ARM/Inputs/print-size.macho-armv7m [new file with mode: 0644]
test/tools/llvm-nm/ARM/lit.local.cfg [new file with mode: 0644]
test/tools/llvm-nm/ARM/macho-print-size.test [new file with mode: 0644]
tools/llvm-nm/llvm-nm.cpp