[PATCH] [PECOFF] Support linking against DLL.
Rui Ueyama
ruiu at google.com
Thu Jul 4 02:16:33 PDT 2013
Hi Bigcheese,
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.
http://llvm-reviews.chandlerc.com/D1096
Files:
include/lld/Core/DefinedAtom.h
lib/Core/DefinedAtom.cpp
lib/ReaderWriter/PECOFF/Atoms.h
lib/ReaderWriter/PECOFF/IdataPass.h
lib/ReaderWriter/PECOFF/PECOFFTargetInfo.cpp
lib/ReaderWriter/PECOFF/WriterPECOFF.cpp
test/pecoff/Inputs/dynamic.dll
test/pecoff/Inputs/dynamic.lib
test/pecoff/Inputs/grouped-sections.asm
test/pecoff/Inputs/grouped-sections.obj
test/pecoff/Inputs/vars-main.c
test/pecoff/Inputs/vars-main.obj
test/pecoff/Inputs/vars.c
test/pecoff/Inputs/vars.dll
test/pecoff/Inputs/vars.lib
test/pecoff/importlib.test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1096.1.patch
Type: text/x-patch
Size: 23732 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130704/6c11dacb/attachment.bin>
More information about the llvm-commits
mailing list