summaryrefslogtreecommitdiffstats
path: root/lld/lib/Driver/WinLinkDriver.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2014-10-09 02:48:14 +0000
committerRui Ueyama <ruiu@google.com>2014-10-09 02:48:14 +0000
commit7be03d09cd2e2bc76c86bb0730770796629fb76c (patch)
treed78757c0b9e945abafeeaa00f733f932ec5861c2 /lld/lib/Driver/WinLinkDriver.cpp
parent979fb40be0ba586f63a9c973581117ecef99b601 (diff)
downloadbcm5719-llvm-7be03d09cd2e2bc76c86bb0730770796629fb76c.tar.gz
bcm5719-llvm-7be03d09cd2e2bc76c86bb0730770796629fb76c.zip
[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
Diffstat (limited to 'lld/lib/Driver/WinLinkDriver.cpp')
-rw-r--r--lld/lib/Driver/WinLinkDriver.cpp2
1 files changed, 0 insertions, 2 deletions
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: {
OpenPOWER on IntegriCloud