diff options
| author | Charles Davis <cdavis@mines.edu> | 2010-10-25 19:07:39 +0000 |
|---|---|---|
| committer | Charles Davis <cdavis@mines.edu> | 2010-10-25 19:07:39 +0000 |
| commit | 742052526a5c525031f506ff597e872c745ab73f (patch) | |
| tree | 328e1d83f539f13adcd1b57ebb96a5c3c227e65f /llvm/docs/LangRef.html | |
| parent | 2477446ee5174641f59083d93a5a4770a3286a4a (diff) | |
| download | bcm5719-llvm-742052526a5c525031f506ff597e872c745ab73f.tar.gz bcm5719-llvm-742052526a5c525031f506ff597e872c745ab73f.zip | |
Make the description of the hotpatch attribute even more generic. Spotted by
Michael Spencer.
llvm-svn: 117286
Diffstat (limited to 'llvm/docs/LangRef.html')
| -rw-r--r-- | llvm/docs/LangRef.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html index 3f6d9c68a28..eb09de7e63c 100644 --- a/llvm/docs/LangRef.html +++ b/llvm/docs/LangRef.html @@ -1133,10 +1133,11 @@ define void @f() optsize { ... } <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 |

