llvm-objdump: add coff import library symbol listing support
authorSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 18 Aug 2016 16:39:19 +0000 (16:39 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 18 Aug 2016 16:39:19 +0000 (16:39 +0000)
commitc6bf547564088ad0ba0b2f281ffa813974f66bda
treeb324aee5a585bf13f72204ffc556374ea4695d52
parent28671c83d6dc6221a5680b180e4ac9f41f26a50b
llvm-objdump: add coff import library symbol listing support

This adds behaviour similar to binutils' objdump which can show symbols in an
import library.  Differences from that stem around the fact that we do not
create section symbols nor the all import import descriptor symbol reference.
However, this does mean that the tool can serve as a possible replacement for
the existing tool.

llvm-svn: 279088
llvm/test/tools/llvm-objdump/Inputs/library.lib [new file with mode: 0755]
llvm/test/tools/llvm-objdump/coff-import-library.test [new file with mode: 0644]
llvm/tools/llvm-objdump/COFFDump.cpp
llvm/tools/llvm-objdump/llvm-objdump.cpp
llvm/tools/llvm-objdump/llvm-objdump.h