[llvm-commits] [llvm] r117286 - /llvm/trunk/docs/LangRef.html

Charles Davis cdavis at mines.edu
Mon Oct 25 12:07:39 PDT 2010


Author: cdavis
Date: Mon Oct 25 14:07:39 2010
New Revision: 117286

URL: http://llvm.org/viewvc/llvm-project?rev=117286&view=rev
Log:
Make the description of the hotpatch attribute even more generic. Spotted by
Michael Spencer.

Modified:
    llvm/trunk/docs/LangRef.html

Modified: llvm/trunk/docs/LangRef.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.html?rev=117286&r1=117285&r2=117286&view=diff
==============================================================================
--- llvm/trunk/docs/LangRef.html (original)
+++ llvm/trunk/docs/LangRef.html Mon Oct 25 14:07:39 2010
@@ -1133,10 +1133,11 @@
 
   <dt><tt><b>hotpatch</b></tt></dt>
   <dd>This attribute indicates that the function should be 'hotpatchable',
-      meaning the function can be patched even while it is loaded into memory.
-      On x86, the function prologue will contain a two-byte no-op sequence;
-      this is the same sequence used in the system DLLs in Microsoft Windows
-      XP Service Pack 2 and higher.</dd>
+      meaning the function can be patched and/or hooked even while it is
+      loaded into memory. On x86, the function prologue will be preceded
+      by six bytes of padding and will begin with a two-byte instruction.
+      Most of the functions in the Windows system DLLs in Windows XP SP2 or
+      higher were compiled in this fashion.</dd>
 
   <dt><tt><b>inlinehint</b></tt></dt>
   <dd>This attribute indicates that the source code contained a hint that inlining





More information about the llvm-commits mailing list