summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-10-04 03:08:43 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-10-04 03:08:43 +0000
commit74e5a2a71276f6126b46f0f202b7b5ae20ea46f6 (patch)
tree649ddd21205e9bb90f786a496e5ede250dc10228 /llvm
parent7e6d8cc46ccb8371baf3724c0925fb1c56bf0550 (diff)
downloadbcm5719-llvm-74e5a2a71276f6126b46f0f202b7b5ae20ea46f6.tar.gz
bcm5719-llvm-74e5a2a71276f6126b46f0f202b7b5ae20ea46f6.zip
Remove last references to hotpatch.
llvm-svn: 141057
Diffstat (limited to 'llvm')
-rw-r--r--llvm/docs/LangRef.html8
-rw-r--r--llvm/lib/AsmParser/LLLexer.cpp1
-rw-r--r--llvm/lib/AsmParser/LLToken.h1
-rw-r--r--llvm/utils/llvm.grm2
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
;
OpenPOWER on IntegriCloud