Add an implementation for llvm-nm’s -print-file-name option (aka -o and -A).
authorKevin Enderby <enderby@apple.com>
Thu, 24 Jul 2014 23:31:52 +0000 (23:31 +0000)
committerKevin Enderby <enderby@apple.com>
Thu, 24 Jul 2014 23:31:52 +0000 (23:31 +0000)
commitfb0326ce1bb5d63ca71751919e8a01093dcc9ab3
tree2e6b1ccaffd3c86234be32af0732c17f76702611
parent51a4c9439ccfe4428070b331b94875616e4abc92
Add an implementation for llvm-nm’s -print-file-name option (aka -o and -A).

The -print-file-name option in llvm-nm is to precede each symbol
with the object file it came from.  While code for the parsing of this
option and its aliases existed there was no code to implement it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213906 91177308-0d34-0410-b5e6-96231b3b80d8
test/Object/nm-archive.test
test/Object/nm-trivial-object.test
test/Object/nm-universal-binary.test
tools/llvm-nm/llvm-nm.cpp