diff options
-rw-r--r-- | docs/LangRef.html | 8 | ||||
-rw-r--r-- | lib/AsmParser/LLLexer.cpp | 1 | ||||
-rw-r--r-- | lib/AsmParser/LLToken.h | 1 | ||||
-rw-r--r-- | utils/llvm.grm | 2 |
4 files changed, 1 insertions, 11 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html index 7882da67e1..1392db6e60 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -1163,14 +1163,6 @@ define void @f() optsize { ... } function into callers whenever possible, ignoring any active inlining size threshold for this caller.</dd> - <dt><tt><b>hotpatch</b></tt></dt> - <dd>This attribute indicates that the function should be 'hotpatchable', - 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>nonlazybind</b></tt></dt> <dd>This attribute suppresses lazy symbol binding for the function. This may make calls to the function faster, at the cost of extra program diff --git a/lib/AsmParser/LLLexer.cpp b/lib/AsmParser/LLLexer.cpp index 029f9426f6..d0dd98627b 100644 --- a/lib/AsmParser/LLLexer.cpp +++ b/lib/AsmParser/LLLexer.cpp @@ -569,7 +569,6 @@ lltok::Kind LLLexer::LexIdentifier() { KEYWORD(noredzone); KEYWORD(noimplicitfloat); KEYWORD(naked); - KEYWORD(hotpatch); KEYWORD(nonlazybind); KEYWORD(type); diff --git a/lib/AsmParser/LLToken.h b/lib/AsmParser/LLToken.h index acdd4b8ebf..8f167725ed 100644 --- a/lib/AsmParser/LLToken.h +++ b/lib/AsmParser/LLToken.h @@ -101,7 +101,6 @@ namespace lltok { kw_noredzone, kw_noimplicitfloat, kw_naked, - kw_hotpatch, kw_nonlazybind, kw_type, diff --git a/utils/llvm.grm b/utils/llvm.grm index 3f33702d2a..fb26dbb66f 100644 --- a/utils/llvm.grm +++ b/utils/llvm.grm @@ -172,7 +172,7 @@ FuncAttr ::= noreturn | optsize | ssp | sspreq - | hotpatch + | returns_twice | nonlazybind ; |