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)
commit1983fcf86ca9353679a9b7d979907730301c76d9
treeeabd357978a1997a9bbc8ab3801ba6d355b214ec
parent6b244b134868958e7adc62e8b7cfe02e448529c7
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)".

llvm-svn: 211316
llvm/include/llvm/Object/MachOUniversal.h
llvm/lib/Object/MachOUniversal.cpp
llvm/test/Object/nm-universal-binary.test
llvm/test/Object/size-trivial-macho.test
llvm/tools/llvm-nm/llvm-nm.cpp
llvm/tools/llvm-size/llvm-size.cpp