summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/PECOFF/ReaderImportHeader.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* [PECOFF] Replace the magic number with sizeof().Rui Ueyama2013-07-291-5/+7
| | | | llvm-svn: 187382
* [PECOFF] Simplicy object allocation code. No functionality change.Rui Ueyama2013-07-261-5/+4
| | | | llvm-svn: 187214
* [PECOFF] Replace magic numbers with offsetof().Rui Ueyama2013-07-221-4/+6
| | | | llvm-svn: 186888
* [PECOFF] Support linking against DLL.Rui Ueyama2013-07-111-1/+2
| | | | | | | | | | | | | | | This patch adds a new pass, IdataPass, to transform shared atom references to real references and to construct the .idata section data. With this patch lld can produce a working Hello World program by linking it against kernel32.dll and user32.dll. Reviewers: Bigcheese CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1096 llvm-svn: 186071
* [PECOFF] Handle hint field in Hint/Name table in the import library.Rui Ueyama2013-07-031-10/+9
| | | | | | | | | | A hint is an index of the export pointer table in a DLL, at which PE/COFF loader starts looking for a symbol name. The import library comes with hints and symbol pairs, and as long as hints are in sync with the actual symbol table in DLL, the symbols will be resolved quickly. So, we shouldn't ignore hints but propagate them to an output. llvm-svn: 185516
* [PECOFF][Writer] Simplifies the COFFBaseDefinedAtom ctor by defining a new ↵Rui Ueyama2013-07-031-2/+2
| | | | | | class. llvm-svn: 185515
* [PECOFF][Writer] Amend the comment about DLL linking.Rui Ueyama2013-07-011-26/+25
| | | | llvm-svn: 185307
* [PECOFF][Writer] Fix buildbot failure on x86_64-win7.Rui Ueyama2013-06-301-2/+9
| | | | llvm-svn: 185285
* [PECOFF][Reader] Create a jump table for functions exported by DLL.Rui Ueyama2013-06-301-23/+127
| | | | llvm-svn: 185283
* [PECOFF] Implement the reader for the import library.Rui Ueyama2013-06-171-0/+150
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
OpenPOWER on IntegriCloud