forked from OSchip/llvm-project
parent
7e6d8cc46c
commit
74e5a2a712
|
@ -1163,14 +1163,6 @@ define void @f() optsize { ... }
|
||||||
function into callers whenever possible, ignoring any active inlining size
|
function into callers whenever possible, ignoring any active inlining size
|
||||||
threshold for this caller.</dd>
|
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>
|
<dt><tt><b>nonlazybind</b></tt></dt>
|
||||||
<dd>This attribute suppresses lazy symbol binding for the function. This
|
<dd>This attribute suppresses lazy symbol binding for the function. This
|
||||||
may make calls to the function faster, at the cost of extra program
|
may make calls to the function faster, at the cost of extra program
|
||||||
|
|
|
@ -569,7 +569,6 @@ lltok::Kind LLLexer::LexIdentifier() {
|
||||||
KEYWORD(noredzone);
|
KEYWORD(noredzone);
|
||||||
KEYWORD(noimplicitfloat);
|
KEYWORD(noimplicitfloat);
|
||||||
KEYWORD(naked);
|
KEYWORD(naked);
|
||||||
KEYWORD(hotpatch);
|
|
||||||
KEYWORD(nonlazybind);
|
KEYWORD(nonlazybind);
|
||||||
|
|
||||||
KEYWORD(type);
|
KEYWORD(type);
|
||||||
|
|
|
@ -101,7 +101,6 @@ namespace lltok {
|
||||||
kw_noredzone,
|
kw_noredzone,
|
||||||
kw_noimplicitfloat,
|
kw_noimplicitfloat,
|
||||||
kw_naked,
|
kw_naked,
|
||||||
kw_hotpatch,
|
|
||||||
kw_nonlazybind,
|
kw_nonlazybind,
|
||||||
|
|
||||||
kw_type,
|
kw_type,
|
||||||
|
|
|
@ -172,7 +172,7 @@ FuncAttr ::= noreturn
|
||||||
| optsize
|
| optsize
|
||||||
| ssp
|
| ssp
|
||||||
| sspreq
|
| sspreq
|
||||||
| hotpatch
|
| returns_twice
|
||||||
| nonlazybind
|
| nonlazybind
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue