OSDN Git Service

For llvm-nm and Mach-O files also use function starts info in some
authorKevin Enderby <enderby@apple.com>
Thu, 22 Mar 2018 23:59:35 +0000 (23:59 +0000)
committerKevin Enderby <enderby@apple.com>
Thu, 22 Mar 2018 23:59:35 +0000 (23:59 +0000)
commit6394fed3dc8c77595011ffc8168983307d2f79d6
treed43f85b315054c9b2378bbb8de156d103eca61ae
parentb9182a2b32b755033638e5a973dd73ea11050b44
For llvm-nm and Mach-O files also use function starts info in some
cases when printing symbols.  As an improvement to:

r305733 - Change llvm-nm for Mach-O files to use dyld info in some cases when printing symbols

it could be made a bit better if it also read the function starts and faked
up nlist entries to those address not already faked up by the other
dyld info.  This would help with stripped static functions.

rdar://38761029

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@328274 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-nm/X86/Inputs/Strip-N.hello.exe.macho-x86_64 [new file with mode: 0755]
test/tools/llvm-nm/X86/dyldinfo.test
tools/llvm-nm/llvm-nm.cpp