summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser/LLToken.h
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2012-06-23 11:37:03 +0000
committerHans Wennborg <hans@hanshq.net>2012-06-23 11:37:03 +0000
commitcbe34b4cc98148b386a0c96cd195e7f62f52a6e3 (patch)
treebebf420600d6e1edc76ead880c7e5163060e5cde /llvm/lib/AsmParser/LLToken.h
parent8e00efeacec6aabafb703922b76dbf391b0a900d (diff)
downloadbcm5719-llvm-cbe34b4cc98148b386a0c96cd195e7f62f52a6e3.tar.gz
bcm5719-llvm-cbe34b4cc98148b386a0c96cd195e7f62f52a6e3.zip
Extend the IL for selecting TLS models (PR9788)
This allows the user/front-end to specify a model that is better than what LLVM would choose by default. For example, a variable might be declared as @x = thread_local(initialexec) global i32 42 if it will not be used in a shared library that is dlopen'ed. If the specified model isn't supported by the target, or if LLVM can make a better choice, a different model may be used. llvm-svn: 159077
Diffstat (limited to 'llvm/lib/AsmParser/LLToken.h')
-rw-r--r--llvm/lib/AsmParser/LLToken.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/AsmParser/LLToken.h b/llvm/lib/AsmParser/LLToken.h
index adf5d4f4d0f..0461e7b63af 100644
--- a/llvm/lib/AsmParser/LLToken.h
+++ b/llvm/lib/AsmParser/LLToken.h
@@ -44,13 +44,14 @@ namespace lltok {
kw_unnamed_addr,
kw_extern_weak,
kw_external, kw_thread_local,
+ kw_localdynamic, kw_initialexec, kw_localexec,
kw_zeroinitializer,
kw_undef, kw_null,
kw_to,
kw_tail,
kw_target,
kw_triple,
- kw_unwind,
+ kw_unwind,
kw_deplibs,
kw_datalayout,
kw_volatile,
OpenPOWER on IntegriCloud