[lld] r367674 - [COFF] Clarify a comment. NFC.

Martin Storsjo via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 2 04:08:15 PDT 2019


Author: mstorsjo
Date: Fri Aug  2 04:08:15 2019
New Revision: 367674

URL: http://llvm.org/viewvc/llvm-project?rev=367674&view=rev
Log:
[COFF] Clarify a comment. NFC.

It's the __delayLoadHelper2 function that overwrites the jump table
slot, not this thunk.

Modified:
    lld/trunk/COFF/DLL.cpp

Modified: lld/trunk/COFF/DLL.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/DLL.cpp?rev=367674&r1=367673&r2=367674&view=diff
==============================================================================
--- lld/trunk/COFF/DLL.cpp (original)
+++ lld/trunk/COFF/DLL.cpp Fri Aug  2 04:08:15 2019
@@ -188,7 +188,7 @@ public:
 
 // Initial contents for delay-loaded functions.
 // This code calls __delayLoadHelper2 function to resolve a symbol
-// and then overwrites its jump table slot with the result
+// which then overwrites its jump table slot with the result
 // for subsequent function calls.
 static const uint8_t thunkX64[] = {
     0x48, 0x8D, 0x05, 0, 0, 0, 0,       // lea     rax, [__imp_<FUNCNAME>]




More information about the llvm-commits mailing list