From: Rafael Espindola Date: Tue, 4 Oct 2011 03:08:43 +0000 (+0000) Subject: Remove last references to hotpatch. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b3c4e26dc574fff3697d61c4c6c08df39af4a906;p=oota-llvm.git Remove last references to hotpatch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141057 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/LangRef.html b/docs/LangRef.html index 7882da67e1a..1392db6e60a 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. -
hotpatch
-
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.
-
nonlazybind
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 029f9426f68..d0dd98627ba 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 acdd4b8ebf8..8f167725ed5 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 3f33702d2a0..fb26dbb66f6 100644 --- a/utils/llvm.grm +++ b/utils/llvm.grm @@ -172,7 +172,7 @@ FuncAttr ::= noreturn | optsize | ssp | sspreq - | hotpatch + | returns_twice | nonlazybind ;