diff options
-rw-r--r-- | llvm/docs/LangRef.html | 8 | ||||
-rw-r--r-- | llvm/lib/AsmParser/LLLexer.cpp | 1 | ||||
-rw-r--r-- | llvm/lib/AsmParser/LLToken.h | 1 | ||||
-rw-r--r-- | llvm/utils/llvm.grm | 2 |
4 files changed, 1 insertions, 11 deletions
diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html index 7882da67e1a..1392db6e60a 100644 --- a/llvm/docs/LangRef.html +++ b/llvm/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/llvm/lib/AsmParser/LLLexer.cpp b/llvm/lib/AsmParser/LLLexer.cpp index 029f9426f68..d0dd98627ba 100644 --- a/llvm/lib/AsmParser/LLLexer.cpp +++ b/llvm/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/llvm/lib/AsmParser/LLToken.h b/llvm/lib/AsmParser/LLToken.h index acdd4b8ebf8..8f167725ed5 100644 --- a/llvm/lib/AsmParser/LLToken.h +++ b/llvm/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/llvm/utils/llvm.grm b/llvm/utils/llvm.grm index 3f33702d2a0..fb26dbb66f6 100644 --- a/llvm/utils/llvm.grm +++ b/llvm/utils/llvm.grm @@ -172,7 +172,7 @@ FuncAttr ::= noreturn | optsize | ssp | sspreq - | hotpatch + | returns_twice | nonlazybind ; |