summaryrefslogtreecommitdiff
path: root/lib/AsmParser/LLToken.h
diff options
context:
space:
mode:
authorCharles Davis <cdavis@mines.edu>2010-10-25 15:37:09 +0000
committerCharles Davis <cdavis@mines.edu>2010-10-25 15:37:09 +0000
commit970bfcc7d8b9991430caa7ab33975617f3f4c40d (patch)
tree4d3a6ad9273bd06be457f993741ac2b9cc78fca3 /lib/AsmParser/LLToken.h
parentd8c5ec6aece5732c766bd7d773ff75976d364168 (diff)
downloadllvm-970bfcc7d8b9991430caa7ab33975617f3f4c40d.tar.gz
llvm-970bfcc7d8b9991430caa7ab33975617f3f4c40d.tar.bz2
llvm-970bfcc7d8b9991430caa7ab33975617f3f4c40d.tar.xz
Add a new 'hotpatch' attribute. This attribute will insert a two-byte no-op
instruction at the beginning of each function that has the attribute, allowing the function to be easily hooked and/or patched. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117264 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLToken.h')
-rw-r--r--lib/AsmParser/LLToken.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/AsmParser/LLToken.h b/lib/AsmParser/LLToken.h
index 8a8663e739..72128c9ae0 100644
--- a/lib/AsmParser/LLToken.h
+++ b/lib/AsmParser/LLToken.h
@@ -96,6 +96,7 @@ namespace lltok {
kw_noredzone,
kw_noimplicitfloat,
kw_naked,
+ kw_hotpatch,
kw_type,
kw_opaque,