Implemented the code to make llvm-nm’s -g option work.
authorKevin Enderby <enderby@apple.com>
Fri, 30 Oct 2015 19:55:32 +0000 (19:55 +0000)
committerKevin Enderby <enderby@apple.com>
Fri, 30 Oct 2015 19:55:32 +0000 (19:55 +0000)
commit05f3dabc64b6920a5e334c9edbc2d7298713e18c
treeaa64668214e9550ddd3c6fd791e29f25e14a6931
parente8abcab8ed753f5860af29d77965abee673fa130
Implemented the code to make llvm-nm’s -g option work.

While llvm-nm parses the -g option and has help that describes it as:

  -extern-only            - Show only external symbols

There is no code in the program to use the boolean valve it sets from the
command line.

rdar://23261095

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251718 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-nm/X86/Inputs/hello.obj.macho-x86_64 [new file with mode: 0644]
test/tools/llvm-nm/X86/externalonly.test [new file with mode: 0644]
test/tools/llvm-nm/lit.local.cfg [new file with mode: 0644]
tools/llvm-nm/llvm-nm.cpp