summaryrefslogtreecommitdiffstats
path: root/lld/test
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2014-10-09 17:43:01 +0000
committerRui Ueyama <ruiu@google.com>2014-10-09 17:43:01 +0000
commit98d703a663f6c9d2a8f2c7b51d7e3d85d3fbac0d (patch)
treea859ee3016555a4668dba21f8adbc989b709d9f1 /lld/test
parent0fbf8bdb08b837061e16f70c1f8884b2535f6153 (diff)
downloadbcm5719-llvm-98d703a663f6c9d2a8f2c7b51d7e3d85d3fbac0d.tar.gz
bcm5719-llvm-98d703a663f6c9d2a8f2c7b51d7e3d85d3fbac0d.zip
[PECOFF] Emit ModuleHandle field in delay-import table.
Previously the field was not set. The field should be pointing to a placeholder where the DLL delay-loader writes the base address of a DLL. llvm-svn: 219415
Diffstat (limited to 'lld/test')
-rw-r--r--lld/test/pecoff/delayimport.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/lld/test/pecoff/delayimport.test b/lld/test/pecoff/delayimport.test
index d122178b914..21cc929a309 100644
--- a/lld/test/pecoff/delayimport.test
+++ b/lld/test/pecoff/delayimport.test
@@ -12,9 +12,9 @@
X86: DelayImport {
X86-NEXT: Name: vars.dll
X86-NEXT: Attributes: 0x1
-X86-NEXT: ModuleHandle: 0x0
+X86-NEXT: ModuleHandle: 0x1000
X86-NEXT: ImportAddressTable: 0x0
-X86-NEXT: ImportNameTable: 0x1000
+X86-NEXT: ImportNameTable: 0x2000
X86-NEXT: BoundDelayImportTable: 0x0
X86-NEXT: UnloadDelayImportTable: 0x0
X86-NEXT: Symbol: _name_with_underscore (0)
@@ -25,9 +25,9 @@ X86-NEXT: }
X64: DelayImport {
X64-NEXT: Name: vars64.dll
X64-NEXT: Attributes: 0x1
-X64-NEXT: ModuleHandle: 0x0
+X64-NEXT: ModuleHandle: 0x1000
X64-NEXT: ImportAddressTable: 0x0
-X64-NEXT: ImportNameTable: 0x1000
+X64-NEXT: ImportNameTable: 0x2000
X64-NEXT: BoundDelayImportTable: 0x0
X64-NEXT: UnloadDelayImportTable: 0x0
X64-NEXT: Symbol: _name_with_underscore (0)
OpenPOWER on IntegriCloud