From 7be03d09cd2e2bc76c86bb0730770796629fb76c Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Thu, 9 Oct 2014 02:48:14 +0000 Subject: [PECOFF] Emit the delay-import table This is a partial patch to emit the delay-import table. With this, LLD is now able to emit the table that llvm-readobj can read and dump. The table lacks a few fields, such as the address of HMODULE, the import address table, etc. They'll be added in subsequent patches. llvm-svn: 219384 --- lld/lib/Driver/WinLinkDriver.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'lld/lib/Driver/WinLinkDriver.cpp') diff --git a/lld/lib/Driver/WinLinkDriver.cpp b/lld/lib/Driver/WinLinkDriver.cpp index cbba4e43c6e..eb4c83ccc2d 100644 --- a/lld/lib/Driver/WinLinkDriver.cpp +++ b/lld/lib/Driver/WinLinkDriver.cpp @@ -1227,8 +1227,6 @@ bool WinLinkDriver::parse(int argc, const char *argv[], case OPT_delayload: ctx.addDelayLoadDLL(inputArg->getValue()); - ctx.addInitialUndefinedSymbol( - ctx.is64Bit() ? "__delayLoadHelper2" : "___delayLoadHelper2@8"); break; case OPT_stub: { -- cgit v1.2.3