Skip to content

Commit 118d330

Browse files
committed
rewording
1 parent ddbec97 commit 118d330

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

lld/test/COFF/wrap-dllimport.s

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// REQUIRES: x86
22

33
// Check that we can wrap a dllimported symbol, so that references to
4-
// __imp_<symbol> gets redirected to a symbol already exists or a defined local import instead
4+
// __imp_<symbol> gets redirected to a symbol that already exists or a defined
5+
// local import instead.
56

67
// RUN: split-file %s %t.dir
78
// RUN: llvm-mc -filetype=obj -triple=i686-win32-gnu %t.dir/main.s -o %t.main.obj
@@ -30,9 +31,9 @@
3031
// which is the first 4 bytes of the .rdata section (above), which is a
3132
// pointer that points at ___wrap_foo.
3233

33-
// The second jmpl instruction in _entry points the null since the referenced symbol
34-
// `__imp____wrap_bar` is declared as a weak reference to prevent pull a reference
35-
// from an external DLL.
34+
// The second jmpl instruction in _entry points to null because the referenced
35+
// symbol `__imp____wrap_bar` is declared as a weak reference to prevent pull a
36+
// reference from an external DLL.
3637

3738
#--- main.s
3839
.global _entry

0 commit comments

Comments
 (0)