[PECOFF] Implement the reader for the import library.
authorRui Ueyama <ruiu@google.com>
Mon, 17 Jun 2013 18:43:13 +0000 (18:43 +0000)
committerRui Ueyama <ruiu@google.com>
Mon, 17 Jun 2013 18:43:13 +0000 (18:43 +0000)
commitb24241bae3ba06a055493759ef093db83aa5033c
tree4c47195cae6156234a42a969c27b1c6e16235dae
parent249f9277a414b79fc121666c61059607210e60d2
[PECOFF] Implement the reader for the import library.

This is the first patch toward full DLL support. With this patch, lld can
read .lib file for a DLL.

Reviewers: Bigcheese

CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D987

llvm-svn: 184101
lld/lib/ReaderWriter/PECOFF/CMakeLists.txt
lld/lib/ReaderWriter/PECOFF/ReaderCOFF.cpp
lld/lib/ReaderWriter/PECOFF/ReaderImportHeader.cpp [new file with mode: 0644]
lld/lib/ReaderWriter/PECOFF/ReaderImportHeader.h [new file with mode: 0644]
lld/test/pecoff/Inputs/dynamic.dll [new file with mode: 0644]
lld/test/pecoff/Inputs/dynamic.lib [new file with mode: 0644]
lld/test/pecoff/Inputs/main.obj [new file with mode: 0644]
lld/test/pecoff/Inputs/static-main.obj [deleted file]
lld/test/pecoff/importlib.test [new file with mode: 0644]
lld/test/pecoff/lib.test
lld/test/pecoff/multi.test