Change the output of llvm-nm and llvm-size for Mach-O universal files (aka
authorKevin Enderby <enderby@apple.com>
Thu, 19 Jun 2014 22:03:18 +0000 (22:03 +0000)
committerKevin Enderby <enderby@apple.com>
Thu, 19 Jun 2014 22:03:18 +0000 (22:03 +0000)
commitc28016e4131bdd50c23510adb3a0254b7fb5adc6
treea3189bf985158cb78e2ca2b9ac6613fb53febced
parent0b5745abd8e46ac60cd16f949a2fd5a581fc8fd4
Change the output of llvm-nm and llvm-size for Mach-O universal files (aka
fat files) to print “ (for architecture XYZ)” for fat files with more than
one architecture to be like what the darwin tools do for fat files.

Also clean up the Mach-O printing of archive membernames in llvm-nm to use
the darwin form of "libx.a(foo.o)".

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211316 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/MachOUniversal.h
lib/Object/MachOUniversal.cpp
test/Object/nm-universal-binary.test
test/Object/size-trivial-macho.test
tools/llvm-nm/llvm-nm.cpp
tools/llvm-size/llvm-size.cpp