[llvm-objdump] Use the COFF export table for additional symbols
authorDavid Majnemer <david.majnemer@gmail.com>
Wed, 18 Nov 2015 02:49:19 +0000 (02:49 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Wed, 18 Nov 2015 02:49:19 +0000 (02:49 +0000)
commit6ac90f1dbd012ebe97616b1dd45df8e52c119d1e
treee7a5d73fabd3a781c61d42f8f2e9c2cc095e7a11
parent446c5db587a09a941bfbaefbb8609037116edf77
[llvm-objdump] Use the COFF export table for additional symbols

Most linked executables do not have a symbol table in COFF.
However, it is pretty typical to have some export entries.  Use those
entries to inform the disassembler about potential function definitions
and call targets.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253429 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/ARM/inlineasm-switch-mode.ll
test/tools/llvm-objdump/X86/Inputs/disassemble.dll.coff-i386 [new file with mode: 0755]
test/tools/llvm-objdump/X86/coff-disassemble-export.test [new file with mode: 0644]
tools/llvm-objdump/llvm-objdump.cpp