Make hotpatch attribute description a little less Wintel-specific.
authorCharles Davis <cdavis@mines.edu>
Mon, 25 Oct 2010 16:29:03 +0000 (16:29 +0000)
committerCharles Davis <cdavis@mines.edu>
Mon, 25 Oct 2010 16:29:03 +0000 (16:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117267 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LangRef.html

index c2ee7019b9601d76aeedb4b49a5a3d2a3b6133c8..3f6d9c68a28192f4e1f47f4d72b205e4c322b8cb 100644 (file)
@@ -1132,9 +1132,11 @@ define void @f() optsize { ... }
       threshold for this caller.</dd>
 
   <dt><tt><b>hotpatch</b></tt></dt>
-  <dd>This attribute indicates that the prologue should contain a 'hotpatch'
-      sequence at the beginning. This is the same sequence used in the
-      system DLLs in Microsoft Windows XP Service Pack 2 and higher.</dd>
+  <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>
 
   <dt><tt><b>inlinehint</b></tt></dt>
   <dd>This attribute indicates that the source code contained a hint that inlining