aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2013-02-11 08:13:54 +0000
committerKostya Serebryany <kcc@google.com>2013-02-11 08:13:54 +0000
commitab39afa9d9b99c61842c8e3d0eb706bd16efdcf3 (patch)
tree35b53df2aaa398d54deefbc9ff458c3ca93ebb10 /utils
parentf64c889cc94417322b0ff8ad1c61939183bf3c38 (diff)
[tsan/msan] adding thread_safety and uninitialized_checks attributes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174864 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/llvm.grm2
-rw-r--r--utils/vim/llvm.vim1
2 files changed, 3 insertions, 0 deletions
diff --git a/utils/llvm.grm b/utils/llvm.grm
index 322036b2c2..c550434054 100644
--- a/utils/llvm.grm
+++ b/utils/llvm.grm
@@ -175,6 +175,8 @@ FuncAttr ::= noreturn
| returns_twice
| nonlazybind
| address_safety
+ | thread_safety
+ | uninitialized_checks
;
OptFuncAttrs ::= + _ | OptFuncAttrs FuncAttr ;
diff --git a/utils/vim/llvm.vim b/utils/vim/llvm.vim
index cea86eee5b..256ef150ed 100644
--- a/utils/vim/llvm.vim
+++ b/utils/vim/llvm.vim
@@ -55,6 +55,7 @@ syn keyword llvmKeyword singlethread spir_func spir_kernel sret ssp sspreq
syn keyword llvmKeyword sspstrong tail target thread_local to triple
syn keyword llvmKeyword unnamed_addr unordered uwtable volatile weak weak_odr
syn keyword llvmKeyword x86_fastcallcc x86_stdcallcc x86_thiscallcc zeroext
+syn keyword llvmKeyword thread_safety uninitialized_checks
" Obsolete keywords.
syn keyword llvmError getresult begin end